[U] Update requirements
This commit is contained in:
+4
-2
@@ -1,2 +1,4 @@
|
|||||||
json5
|
json5~=0.9.6
|
||||||
tweepy
|
tweepy==4.4.0
|
||||||
|
|
||||||
|
pytz~=2021.1
|
||||||
|
|||||||
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user