diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2019-01-08 20:33:06 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2019-01-08 20:33:06 +0000 |
commit | 2a9c3799ceeb7d707751cf1672b50c7891703a6b (patch) | |
tree | 99507a3b08487481606a3f2d188a60f81ca16d1c | |
parent | b5a21e6ea6118b80691b2812c77e459b45116170 (diff) | |
download | SmallYTChannelBot-2a9c3799ceeb7d707751cf1672b50c7891703a6b.tar.gz SmallYTChannelBot-2a9c3799ceeb7d707751cf1672b50c7891703a6b.zip |
updated database
-rw-r--r-- | SmallYTChannelDatabase.db | bin | 435200 -> 461824 bytes | |||
-rw-r--r-- | login.py.save | 9 | ||||
-rw-r--r-- | nano.save | 1 | ||||
-rw-r--r-- | runprog.py | 23 |
4 files changed, 10 insertions, 23 deletions
diff --git a/SmallYTChannelDatabase.db b/SmallYTChannelDatabase.db Binary files differindex 353833f..ffea1a0 100644 --- a/SmallYTChannelDatabase.db +++ b/SmallYTChannelDatabase.db diff --git a/login.py.save b/login.py.save new file mode 100644 index 0000000..c689d2f --- /dev/null +++ b/login.py.save @@ -0,0 +1,9 @@ +from imgurpython import ImgurClient +import praw + +REDDIT = praw.Reddit(client_id = "PyyyRXa3veWsWA", + client_secret = "hAMbhuzdHIew5hmn1CFwWb5FurM", + user_agent = "SmallYTChannelBot", + username = "SmallYTChannelBot", + password = "rb0 +OvvS9eRxXTx8karbm") diff --git a/nano.save b/nano.save new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/nano.save @@ -0,0 +1 @@ + diff --git a/runprog.py b/runprog.py deleted file mode 100644 index a564678..0000000 --- a/runprog.py +++ /dev/null @@ -1,23 +0,0 @@ -from time import sleep -import subprocess -import multiprocessing - -def thread_(): - subprocess.run(["python3", "SmallYTChannelBotSubmissions.py"]) - -while True: - thread = multiprocessing.Process(target = thread_, args = ()) - thread.start() - - sleep(60 * 60 * 2) - - #print("closing...") - #file = open("pid.txt", "r") - #pid = file.readlines()[0] - #file.close() - - #subprocess.run(["kill", pid]) - thread.terminate() - - #print("killed ", pid) - |