[U] Update requirements
This commit is contained in:
+4
-2
@@ -1,2 +1,4 @@
|
||||
json5
|
||||
tweepy
|
||||
json5~=0.9.6
|
||||
tweepy==4.4.0
|
||||
|
||||
pytz~=2021.1
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import io
|
||||
import json
|
||||
import math
|
||||
import random
|
||||
@@ -10,9 +9,11 @@ from typing import Union
|
||||
|
||||
import pytz
|
||||
import tweepy
|
||||
from raw_collect.utils import Config, debug, Posting, json_stringify, load_config
|
||||
from tweepy import API
|
||||
|
||||
from raw_collect.utils import Config, debug, Posting, json_stringify, load_config
|
||||
|
||||
|
||||
@dataclass
|
||||
class User:
|
||||
id: int
|
||||
@@ -261,6 +262,6 @@ def convert_to_generic(username: str, tweet: Tweet) -> Posting:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
conf = load_config()
|
||||
conf = load_config('../../config.json5')
|
||||
api = tweepy_login(conf)
|
||||
download_users(api, 'sauricat')
|
||||
|
||||
Reference in New Issue
Block a user