article.text returns None on english article
See original GitHub issueHi,
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:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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@pmehler thanks, I fixed that!