newspaper4k
newspaper4k copied to clipboard
Cannot download the text or top image for Chinese news
Issue by bq-chen
Mon Feb 11 18:55:59 2019
Originally opened as https://github.com/codelucas/newspaper/issues/676
I've tried a Chinese news link, but I get nothing as top_image or even the text of the news. Could you please guide what might have gone wrong and how to fix it? Does your api actually work for Chinese news?
>>> from newspaper import Article
>>> url = "https://www.toutiaoabc.com/index.php?app=news&act=view&nid=697665"
>>> article = Article(url)
>>> article.top_image
''
>>> article.text
''
>>> article
<newspaper.article.Article object at 0x106b90978>
>>> article.publish_date
''
https://www.toutiaoabc.com/index.php?app=news&act=view&nid=1191487