taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.39k stars 581 forks source link

Problem parsing proxy list #363

Open crowley285 opened 2 years ago

crowley285 commented 2 years ago

the proxy source https://free-proxy-list.net/ probably changed things around it's proxy table which is no longer under the id "proxylisttable" and so the line 48 in query.py returns None.

Traceback (most recent call last): File "D:/tasks/TwitterFeed.py", line 9, in from twitterscraper import query_tweets File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\twitterscraper__init__.py", line 13, in from twitterscraper.query import query_tweets File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\twitterscraper\query.py", line 76, in proxies = get_proxies() File "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\twitterscraper\query.py", line 49, in get_proxies list_tr = table.find_all('tr') AttributeError: 'NoneType' object has no attribute 'find_all'

burakugurr commented 2 years ago

I also get this error. What's the solution to the problem?

neogeos commented 2 years ago

hi i got this error list_tr = table.find_all('tr') AttributeError: 'NoneType' object has no attribute 'find_all'

AdrienMau commented 2 years ago

Same error.