codelucas / newspaper

newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
https://goo.gl/VX41yK
MIT License
14.06k stars 2.11k forks source link

Author extraction in example is not working #895

Open cta2106 opened 3 years ago

cta2106 commented 3 years ago

Using the example in the docs

from newspaper import Article

url = 'http://fox13now.com/2013/12/30/new-year-new-laws-obamacare-pot-guns-and-drones/'
article = Article(url)
article.download()
article.parse()
article.authors

authors yields an empty list, whereas the correct answer according to the docs is ['Leigh Ann Caldwell', 'John Honway']

arsine1996 commented 3 years ago

I have the same issue

johnbumgarner commented 2 years ago

@arsine1996 and @cta2106 -- Take a look at my Newspaper3K Usage Overview document for examples related to your issues.