question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

article.text returns None on english article

See original GitHub issue

Hi,

I post a webpage where I used your library and it didn’t work (in case you want feedback)

To test run:

url = "https://www.naftemporiki.gr/story/1536265/weather-front-with-heavy-rains-causes-problems-throughout-greece"
from newsplease import NewsPlease
article = NewsPlease.from_url(url)
assert article.text is None
# where it shouldn't

Although a greek website it is written in English so it should work. Also it behaves like that on all english entries of this website.

Thanks a lot.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Oleg-A-LLItocommented, Mar 11, 2020

@ysig I managed to solve it by rolling back my news-please to 1.3.14 pip install news-please==1.3.14 --force-reinstall Looks like this bug appeared in one of 1.14.x updates Waiting for a fix, though

0reactions
fhamborgcommented, May 5, 2020

@pmehler thanks, I fixed that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Articles - Grammar - Academic Guides at Walden University
No Article (Generic Reference)​​ However, if the noun is countable and plural (e.g.., "research studies") or uncountable (e.g., "information") and it is being ......
Read more >
Most comprehensive guide for article usage (a/an/the/no article)
Since in the text will be many different ways how articles were used, we can summarise all rules in a post and just...
Read more >
The Article Contents element - HTML - MDN Web Docs - Mozilla
None, both the starting and ending tag are mandatory. Permitted parents, Any element that accepts flow content. Note that an <article> element ...
Read more >
Verify correct use of "a" and "an" in English texts - Python
Here's a solution where correctness is defined as: an comes before a word that starts with a vowel sound, otherwise a may be...
Read more >
Articles 'a/an', 'the' and no article - Current students
To use articles correctly, you must first be able to recognise if the noun is countable (C) or uncountable (U). Countable nouns can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found