GNews
GNews copied to clipboard
Suggestions for the get_full_article method.
I added these lines to give it a user-agent and it helped, just thought you should know as it might be helpful in the future. config = newspaper.Config() config.browser_user_agent = USER_AGENT article = newspaper.Article(url="%s" % url, language=self._language, config=config)
I also think some of the user-agents are out of date as I get errors like:
Article download()
failed with 400 Client Error: Bad Request for url
Article download()
failed with 403 Client Error: Unsupported Browser for url
I'm having the ERROR: Article
download() failed with 403 Client Error: Max restarts limit reached for url
errors too
I also think some of the user-agents are out of date as I get errors like: Article
download()
failed with 400 Client Error: Bad Request for url Articledownload()
failed with 403 Client Error: Unsupported Browser for url
can you please list down all the outdated user-agents? or you can create PR