JOHW85 / ScrapeFandom

Scrapes Fandom for an updated Wiki dump
30 stars 5 forks source link

[Bug] AttributeError: 'NoneType' object has no attribute 'find_all' #1

Closed alex-ui closed 1 year ago

alex-ui commented 1 year ago

Error when running ScrapeFandom.py on python3 (Windows 10 64-bit, native Command Prompt).

It seems like BeautifulSoup has problems with Fandom, maybe this website, like others, can't be scraped because they're protected or have blocked these types of scripts.

alex-ui commented 1 year ago

Fixed. "li" didn't exit, so I replaced it with "listofpages".