newscatcher
newscatcher copied to clipboard
Not compatible with Python 3.9
Looks like the dependencies in this project need to be updated. Feedparser was patched for 3.9 but the patch hasn't made it into here yet so it throws a base64 error.
Python 3.9: AttributeError: module 'base64' has no attribute 'decodestring'
Change
base64.decodestring
into base64.decodebytes
on feedparser.py
library will fix the problem.
@ellukian @jpribyl
Fixed in feedparser : https://github.com/kurtmckee/feedparser/pull/206
Temporary fix:
- Download newscatcher-0.2.0.tar.gz from newscatcher Pypl and unzip
- change
'feedparser>=5.2.1,<6.0.0'
to'feedparser>=6.0.0,<6.0.8'
in setup.py - Upgrade feedparser using
pip install feedparser --upgrade
- change directory into the newscatcher-0.2.0 and type
sudo python setup.py install
Any updates ?