[+] Test download tweets
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from collect.twitter import tweepy_login, get_user_tweets
|
from collect.twitter import tweepy_login, download_user_tweets
|
||||||
from collect.utils import *
|
from collect.utils import *
|
||||||
|
|
||||||
|
|
||||||
@@ -6,7 +6,5 @@ if __name__ == '__main__':
|
|||||||
conf = load_config()
|
conf = load_config()
|
||||||
api = tweepy_login(conf)
|
api = tweepy_login(conf)
|
||||||
|
|
||||||
tweets = get_user_tweets(api, 'voxdotcom')
|
download_user_tweets(api, 'voxdotcom')
|
||||||
|
|
||||||
print(len(tweets))
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user