GNews icon indicating copy to clipboard operation
GNews copied to clipboard

Suggestions for the get_full_article method.

Open EliTheKnight opened this issue 2 years ago • 4 comments

EliTheKnight avatar Jun 12 '22 18:06 EliTheKnight

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)

EliTheKnight avatar Jun 12 '22 18:06 EliTheKnight

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

EliTheKnight avatar Jun 12 '22 18:06 EliTheKnight

I'm having the ERROR: Article download() failed with 403 Client Error: Max restarts limit reached for url errors too

rolandgvc avatar Jul 27 '22 13:07 rolandgvc

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

can you please list down all the outdated user-agents? or you can create PR

ranahaani avatar Aug 09 '23 06:08 ranahaani