diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2020-08-25 17:42:13 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2020-08-25 17:42:13 +0000 |
commit | e6d64b2408608c3606235a8e087b8e150332af24 (patch) | |
tree | 6ed66a8c7fa2cda80398f32cf4d99edbfcc29c6c | |
parent | 98bc58c5d93c16a8cd71b9622dde9a88f84b7d8b (diff) | |
download | yaoi-communism-e6d64b2408608c3606235a8e087b8e150332af24.tar.gz yaoi-communism-e6d64b2408608c3606235a8e087b8e150332af24.zip |
fixed dependencies
-rw-r--r-- | bot.py | 6 | ||||
-rw-r--r-- | requirements.txt | 5 |
2 files changed, 8 insertions, 3 deletions
@@ -13,4 +13,8 @@ def post(): get_images.logging.info("Posted to twitter.")
if __name__ == "__main__":
- post()
+ import time
+
+ while True:
+ post()
+ time.sleep(60*60)
diff --git a/requirements.txt b/requirements.txt index 48f6f9e..325cb7d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ Shapely==1.7.1 -requests==2.21.0 colorthief==0.2.1 +opencv_python==4.1.1.26 +requests==2.18.4 lxml==4.5.2 dataclasses==0.7 Pillow==7.2.0 -TwitterAPI==2.5.13 +twython==3.8.2 |