Comments (8)
Code?
from googlenews.
from GoogleNews import GoogleNews
googlenews = GoogleNews()
googlenews.search('APPL')
Test = googlenews.gettext()
print(Test)
from googlenews.
I am also getting []
. I know my contribution to this project (def get_news(self, deamplify=False)
) broke a couple days ago. It looks like Google has once again changed the format to discourage scraping. This will need to be fixed and is a great opportunity for someone to contribute! ;-)
from googlenews.
Same here no results even for Trump.
@fabolandry @mjlabe @HurinHu you guys have any update ?
from googlenews.
No update here. I've given up on using my contribution because Google breaks it every month.
from googlenews.
@mjlabe Pity do you recommend newapi ?
from googlenews.
@mjlabe Pity do you recommend newapi ?
I'm sure if there is an issue, @HurinHu will fix it, but I thought he pushed an update a few days ago. Have you tried updating? If it's not fixed, take a look at the html you are getting back and compare it to what the project is trying to parse. Should be a quick fix and your contribution would be appreciated. You're going to have this issue with any library that scrapes Google.
from googlenews.
The API has been working for me the last few days. Using the following to test;
from GoogleNews import GoogleNews
googlenews = GoogleNews()
googlenews.search('tesla')
if googlenews.result() == []:
print("failed")
else:
print("passed")
print(googlenews.get__links())
There seems to be some issue of not returning results after heavy use. Documented in; https://github.com/HurinHu/GoogleNews/issues/22
from googlenews.
Related Issues (20)
- googlenews.search not working HOT 2
- en-GB search for region and language. HOT 1
- GoogleNews search is not working, please help HOT 11
- .search() does not take into account time range, gives limited number of results HOT 1
- googlenews.search() giving empty results and desc is returning None HOT 1
- Fetching doesnt work since 2 days HOT 4
- Empty news result
- 'desc' key in results list empty for all searches
- if I can use proxy in this tools HOT 2
- 429 error HOT 1
- 'get_news' search function returns NoneType error HOT 3
- get_news() search returning 'NoneType' error HOT 3
- no results return HOT 2
- Title resturns the media name in front HOT 2
- Intermediate URL redirect HOT 5
- Date Range doesn't work? HOT 1
- Pt-br version is not working HOT 1
- No results returned 1.6.14 HOT 1
- Datetime not available HOT 1
- Result for all search returning "None"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googlenews.