jarun / googler

:mag: Google from the terminal
GNU General Public License v3.0
6.1k stars 528 forks source link

Stopped working? #372

Closed 097115 closed 4 years ago

097115 commented 4 years ago

https://gist.github.com/097115/821c10653b18cc83d333329ab8371e9c

Both Ubuntu and macOS, both python 3.5.2 and 3.7.4. Worked just a few hours ago, and now suddenly returns no results (both 4.2 and the latest master).

hooksoft commented 4 years ago

Same, first time using this tool a few minutes ago.

jarun commented 4 years ago

Looks like it. Attached the response for @zmwangx to take a look.

googler-response-ncqronkq.zip

strazto commented 4 years ago

Weirdly enough, for me- the following works:

googler --debug aaaa
[DEBUG] googler version 4.2
[DEBUG] Python version 3.8.5
[DEBUG] Platform: Linux-5.4.0-48-generic-x86_64-with-glibc2.2.5
[DEBUG] Connecting to new host www.google.com
[DEBUG] Opened socket to 172.217.167.100:443
[DEBUG] Fetching URL /search?ie=UTF-8&oe=UTF-8&q=aaaa&sei=Dz1GrARhEeu1_XCFwrImsQ
[DEBUG] Cookie: 1P_JAR=2020-10-02-03
[DEBUG] Response body written to '/tmp/googler-response-oqc8_miv.html'.

 1.  Contact Us
     https://www.aaaa.com.au/contact-us/
     Contact Us. National Office 7-8 Bastow Place Mulgrave, Victoria ...

     1a. Contact Us
         https://www.aaaa.com.au/contact-us/
         Contact Us. National Office 7-8 Bastow Place Mulgrave, Victoria ...

     1b. Join AAAA
         https://www.aaaa.com.au/join-aaaa/
         Join Today! Complete your online membership application here.

     1c. About
         https://www.aaaa.com.au/about/
         AAAA membership is designed to reduce the cost and time of ...

     1d. Member Benefits
         https://www.aaaa.com.au/about/member-benefits/
         Industry Legal. AAAA members can access the FREE Industry ...

     1e. Member Login
         https://www.aaaa.com.au/member-login/
         Member Login. This section allows members to pay AAAA invoices ...

     1f. AAAA News
         https://www.aaaa.com.au/category/news/aaaa-news/
         The Latest AAAA news related to the Automotive Aftermarket.

googler-aaaa.html.txt

But the following doesn't:

googler --debug hi
[DEBUG] googler version 4.2
[DEBUG] Python version 3.8.5
[DEBUG] Platform: Linux-5.4.0-48-generic-x86_64-with-glibc2.2.5
[DEBUG] Connecting to new host www.google.com
[DEBUG] Opened socket to 172.217.25.132:443
[DEBUG] Fetching URL /search?ie=UTF-8&oe=UTF-8&q=hi&sei=QVG23ARhEeu73XCFwrImsQ
[DEBUG] Cookie: 1P_JAR=2020-10-02-03
[DEBUG] Response body written to '/tmp/googler-response-q2tqa5oy.html'.
No results.
If you believe this is a bug, please review https://git.io/googler-no-results before submitting a bug report

googler-hi.html.txt

shorewall commented 4 years ago

same for me. Worked up to yesterday. root@localhost ~]# googler --debug linux [DEBUG] googler version 4.2 [DEBUG] Python version 3.5.7 [DEBUG] Platform: Linux-4.14.145-desktop-2.mga6-x86_64-with-mageia-6-Official [DEBUG] Connecting to new host www.google.com [DEBUG] Opened socket to 216.58.209.36:443 [DEBUG] Fetching URL /search?ie=UTF-8&oe=UTF-8&q=linux&sei=e0Gf1yazROinWwapOGtJ0Q [DEBUG] Cookie: CGIC=Igl0ZXh0L2h0bWw [DEBUG] Response body written to '/tmp/googler-response-et7jy_xt.html'. No results. If you believe this is a bug, please review https://git.io/googler-no-results before submitting a bug report.

andrewrgarcia commented 4 years ago

thank you jarun. I reinstalled from the git master and now works perfectly again thanks to your fork merge

raoulalwani commented 4 years ago

@jarun thanks for the quick update to fix.

To any others needing to solve this, I ran: sudo googler -u --include-git and now it's working again. sudo google -u alone did not work, I had to --include-git to get the latest updates from master.

andrewrgarcia commented 4 years ago

@jarun thanks for the quick update to fix.

To any others needing to solve this, I ran: sudo googler -u --include-git and now it's working again. sudo google -u alone did not work, I had to --include-git to get the latest updates from master.

lol that's basically what I said!!