Iceloof / GoogleNews

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

fix search problem. #95

Closed la-strole closed 2 years ago

la-strole commented 2 years ago

Looks like Google changed the tags again. In the file init.py you can replace line 139 result = self.content.find_all("div", id="search")[0].find_all("g-card") with result = self.content.find_all("div", id="search")[0].find("div", id="rso").children

https://drive.google.com/file/d/1oRq5BRVEsFBlwpNWmaWdvCbLgniUku6U/view?usp=sharing