imgur-scraper icon indicating copy to clipboard operation
imgur-scraper copied to clipboard

Mysterious bug

Open xuebofan opened this issue 5 years ago • 0 comments

Hi, I've been using the library for several month, and since about one month ago I frequently encounter this problem and have to rerun the code and ignore certain posts. Please help to fix this. Thanks!

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/data/imgur/scraper.py", line 331, in autoscrape for post in get_viral_posts_from(date=day): File "/data/imgur/env/lib/python3.6/site-packages/imgur_scraper/imgur_scraper.py", line 25, in get_viral_posts_from 'title': entries.find('.hover > p')[0].full_text, IndexError: list index out of range

xuebofan avatar Jan 14 '20 09:01 xuebofan