newspaper
newspaper copied to clipboard
encoding error : input conversion failed due to input error, bytes 0x21 0x00 0x00 0x00
Tried this link on local with newspaper3k link: http://www.news.com.au/sport/cricket/big-bash/bbl-2019-perth-scorchers-vs-melbourne-renegades-at-optus-stadium/live-coverage/c76e315c694d39dd5c20ad75c5a136aa
my code :
article_content = Article('http://www.news.com.au/sport/cricket/big-bash/bbl-2019-perth-scorchers-vs-melbourne-renegades-at-optus-stadium/live-coverage/c76e315c694d39dd5c20ad75c5a136aa
', keep_article_html=True)
article_content.download() -> this throws error
article_content.parse()
However, I earlier was working with same code on Jupyter notebook and it was working fine. then i shifted code to flask environment. article_content.download() gives error on few url like mentioned above and on few it works
I'm hitting this exact issue on a lot of articles
Any progress so far on this issue?