facebook-scraper
facebook-scraper copied to clipboard
Unmanaged KeyError exception raised after searching for data-ft attribute in extractors.py
Hello,
since today, extractors.py raises an unmanaged KeyError exception in correspondance of line 1229:
data_ft_json = self.element.attrs['data-ft'].replace("\\\\", "\\")
The exception should have been caught by the KeyError handler placed below. However, the scraper still crashes.
I am working with EU Facebook.
Can you please post the code you used that throws this exception? And also the full traceback.