elvisyjlin / media-scraper

Scrapes all photos and videos in a web page / Instagram / Twitter / Tumblr / Reddit / pixiv / TikTok
MIT License
385 stars 49 forks source link

Index Error #29

Open AnonPoison opened 1 year ago

AnonPoison commented 1 year ago

I get this every time I run " python3 -m mediascraper.twitter Twitter "

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/Users/ /Downloads/media-scraper-master/mediascraper/twitter.py", line 14, in scraper.login('credentials.json') File "/Users/ /Downloads/media-scraper-master/mediascrapers.py", line 444, in login username = [u for u in usernames if u.get_attribute('class') == 'js-username-field email-input js-initial-focus'][0]


IndexError: list index out of range