berettavexee / events-scrapper

Web scraping python script to convert a list of Facebook events pages into a ical calendar.
MIT License
22 stars 2 forks source link

FB changed code related to Organizer #6

Open charles-hood opened 4 years ago

charles-hood commented 4 years ago

Facebook must have changed something recently, the script is failing trying to find the organizer. (This is not a multiple organizer issue, it fails even on events hosted by a single organizer.)

error is: File "events-scraper.py", line 219, in find_organizer event_info["organizer"] = organizer[0].text IndexError: list index out of range

berettavexee commented 4 years ago

I made a quick fix. FB changed the name of a class which broke the script. I keep the bug open because I should implement a more robust method to find the organizers.