Giter Club home page Giter Club logo

Comments (8)

mjlabe avatar mjlabe commented on June 15, 2024 1

Code?

from googlenews.

fabolandry avatar fabolandry commented on June 15, 2024

from GoogleNews import GoogleNews
googlenews = GoogleNews()
googlenews.search('APPL')
Test = googlenews.gettext()
print(Test)

from googlenews.

mjlabe avatar mjlabe commented on June 15, 2024

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.

wajihmsedi avatar wajihmsedi commented on June 15, 2024

Same here no results even for Trump.
@fabolandry @mjlabe @HurinHu you guys have any update ?

from googlenews.

mjlabe avatar mjlabe commented on June 15, 2024

No update here. I've given up on using my contribution because Google breaks it every month.

from googlenews.

wajihmsedi avatar wajihmsedi commented on June 15, 2024

@mjlabe Pity do you recommend newapi ?

from googlenews.

mjlabe avatar mjlabe commented on June 15, 2024

@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.

harkib avatar harkib commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.