jarun/googler

Stopped working?

097115 opened this issue ยท 7 comments

  • Output of googler -d:
[DEBUG] googler version 4.2
[DEBUG] Python version 3.7.4
[DEBUG] Platform: Darwin-15.6.0-x86_64-i386-64bit
[DEBUG] Connecting to new host www.google.com
[DEBUG] Opened socket to 216.58.215.68:443
[DEBUG] Fetching URL /search?ie=UTF-8&oe=UTF-8&q=test&sei=YhfWbCYXQL2KPfSS1sfGbA
[DEBUG] Cookie: CGIC=Igl0ZXh0L2h0bWw
[DEBUG] Response body written to '/var/folders/fm/flpqjgss1mz5hhs92sj_6fm40000gn/T/googler-response-h3lbic2q.html'.
No results.
If you believe this is a bug, please review https://git.io/googler-no-results before submitting a bug report.
  • Link to the response body:

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

  • Details of operating system, Python version used:

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

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

jarun commented

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

googler-response-ncqronkq.zip

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

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.

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

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

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