[U] Update requirements

This commit is contained in:
Hykilpikonna
2021-11-21 23:09:10 -05:00
parent 30aee55a7d
commit 032c7caffd
2 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -1,2 +1,4 @@
json5 json5~=0.9.6
tweepy tweepy==4.4.0
pytz~=2021.1
+4 -3
View File
@@ -1,4 +1,3 @@
import io
import json import json
import math import math
import random import random
@@ -10,9 +9,11 @@ from typing import Union
import pytz import pytz
import tweepy import tweepy
from raw_collect.utils import Config, debug, Posting, json_stringify, load_config
from tweepy import API from tweepy import API
from raw_collect.utils import Config, debug, Posting, json_stringify, load_config
@dataclass @dataclass
class User: class User:
id: int id: int
@@ -261,6 +262,6 @@ def convert_to_generic(username: str, tweet: Tweet) -> Posting:
if __name__ == '__main__': if __name__ == '__main__':
conf = load_config() conf = load_config('../../config.json5')
api = tweepy_login(conf) api = tweepy_login(conf)
download_users(api, 'sauricat') download_users(api, 'sauricat')