Iceloof / GoogleNews

Script for GoogleNews
https://pypi.org/project/GoogleNews/
MIT License
314 stars 88 forks source link

get_news vs search - getting the full news text #148

Open miraculix95 opened 2 weeks ago

miraculix95 commented 2 weeks ago

Hi, I am wondering if get_text - which does not really work for me (there are no explanations in the pypi tutorial and readme) - is supposed to get you the full text of the news article - using Beautiful Soup.

I saw a reference to BS in the code base.

However. if I use the following suggested code:

googlenews = GoogleNews(lang='en',period='1h') googlenews.get_news('PS4 PS5 PlayStation') googlenews.results()

it works, but there is no variable for fulltext in the dictionaries.

can somone clarify for me?