Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snopes parser is failing #9

Closed
wybiral opened this issue Dec 27, 2020 · 1 comment
Closed

Snopes parser is failing #9

wybiral opened this issue Dec 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@wybiral
Copy link
Owner

wybiral commented Dec 27, 2020

Looks like they changed their markup a bit. Need to make the parser more generic/fault tolerant.

Traceback (most recent call last):
  File "firehose\sources\__init__.py", line 14, in run
    await self.update(db, queue)
  File "firehose\sources\snopes.py", line 22, in update
    articles = div.find_all('article', {'class': 'media-wrapper'})
AttributeError: 'NoneType' object has no attribute 'find_all'
@wybiral wybiral added the bug Something isn't working label Dec 27, 2020
@wybiral
Copy link
Owner Author

wybiral commented Jan 27, 2021

Fixed: 5702320

@wybiral wybiral closed this as completed Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant