newspaper icon indicating copy to clipboard operation
newspaper copied to clipboard

encoding error : input conversion failed due to input error, bytes 0x21 0x00 0x00 0x00

Open ashwinsingh2007 opened this issue 4 years ago • 2 comments

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

ashwinsingh2007 avatar Dec 22 '19 20:12 ashwinsingh2007

I'm hitting this exact issue on a lot of articles

blw1138 avatar May 13 '22 20:05 blw1138

Any progress so far on this issue?

AlphaMoury avatar Sep 04 '23 19:09 AlphaMoury