diff options
-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) - |