Open barniker opened 2 years ago
fixed issue reported here with:
import pandas as pd ... def get_proxies(): resp = requests.get(PROXY_URL) df = pd.read_html(resp.text)[0] list_ip=list(df['IP Address'].values) list_ports=list(df['Port'].values.astype(str)) list_proxies = [':'.join(elem) for elem in list(zip(list_ip, list_ports))]
however, this still does not work.
list_of_tweets = query_tweets("Trump OR Clinton", 10) returns:
list_of_tweets = query_tweets("Trump OR Clinton", 10)
Exception: Traceback (most recent call last): --> 249 for new_tweets in pool.imap_unordered(partial(query_tweets_once, limit=limit_per_pool, lang=lang, use_proxy=use_proxy), queries): 250 all_tweets.extend(new_tweets) 251 logger.info('Got {} tweets ({} new).'.format(
also, query_user_info fails as shown here:
query_user_info(user='elonmusk')
I see that the tags and twitter id have changed. the repository can no longer find the tags.
fixed issue reported here with:
however, this still does not work.
list_of_tweets = query_tweets("Trump OR Clinton", 10)
returns:also, query_user_info fails as shown here:
query_user_info(user='elonmusk')