Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Reuters article throw download error #650

Open
yudataguy opened this issue Oct 22, 2024 · 0 comments
Open

[BUG] Reuters article throw download error #650

yudataguy opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yudataguy
Copy link

Describe the bug
Reuters article throws download error

To Reproduce

Steps to reproduce the behavior, please post any code you used and the website you tried to parse/process:
Traceback (most recent call last):
  File "xyz.py", line 5, in <module>
    article = newspaper.article(
              ^^^^^^^^^^^^^^^^^^
  File ".../newspaper/__init__.py", line 63, in article
    a.parse()
  File ".../newspaper/article.py", line 451, in parse
    self.throw_if_not_downloaded_verbose()
  File ".../newspaper/article.py", line 736, in throw_if_not_downloaded_verbose
    raise ArticleException(
newspaper.exceptions.ArticleException: Article `download()` failed with Status code 401 for url None on URL https://www.reuters.com/world/us/foreign-actors-stoke-divisions-ahead-us-elections-spy-agencies-say-2024-10-22/

Expected behavior
article should return normal

System information

  • OS: [Macos]
  • Python version [3.12]
  • Library version [0.93]
@yudataguy yudataguy added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant