We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think you can remove this:
if hasattr(entry, 'date_parsed'): timestamp = datetime.fromtimestamp( time.mktime(entry.date_parsed))
In the feedparser 5.1.3 docs, date_parsed isn't an attribute of a feed entry so that hasattr will never evaluate to True.
date_parsed
entry
hasattr
True
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think you can remove this:
In the feedparser 5.1.3 docs,
date_parsed
isn't an attribute of a feedentry
so thathasattr
will never evaluate toTrue
.The text was updated successfully, but these errors were encountered: