cli-google icon indicating copy to clipboard operation
cli-google copied to clipboard

Follow redirect 302

Open wernight opened this issue 9 years ago • 10 comments

Currently the tool returns error 302.

wernight avatar Nov 21 '14 13:11 wernight

Same here. This is the output, independently of the search query:

$> ./google ciao

http://www.google.com/search?q=ciao Server responded with an error: 302

coccoinomane avatar Sep 03 '15 16:09 coccoinomane

Please take a look at google-cli, revives this project and adds tons of features: https://github.com/jarun/google-cli

jarun avatar Sep 13 '15 11:09 jarun

Thank you Arun! It is a great piece of software; I have just starred your project.

I was wondering whether you plan to implement the following two features:

  • Dump search results to file. I tried with output redirection in bash, but it fails with error IOError: [Errno 25] Inappropriate ioctl for device.
  • Introduce an option to show only the URLs or the titles of the search results.

I could try implementing the second feature myself, but first I need to re-study Python.

Cheers, Guido

coccoinomane avatar Sep 13 '15 14:09 coccoinomane

Hey thanks!

I can add the first one but need some time to start the implementation due to personal stuff. Can you please raise a bug on the google-cli project for this? In case someone else picks it up.

Regarding the second one, adding more options mean consuming more time in parsing them (even if that's just two condition checks). So you might have to convince me with the strong reason to add these ;).

jarun avatar Sep 13 '15 15:09 jarun

The first issue is fixed now.

jarun avatar Sep 14 '15 14:09 jarun

Thank you so much, Arun! I was travelling so I couldn't raise the bug; you were much quicker than me 😊

Concerning the second request (add option to show only one field, e.g. URL or title), the need arises in the web agency where I work when a list of URLs matching a criterion is needed.

However, now that output redirection works, one can just dump the result to file and regex them to death 😊 So I guess I can do without the feature, even though I still think it would add to the tool.

Thanks again for the quick fix!

Cheers, Guido

coccoinomane avatar Sep 15 '15 11:09 coccoinomane

No problem! Glad to know it helps! Good luck!

jarun avatar Sep 15 '15 12:09 jarun

Hi Arun,

I have just downloaded GDB dashboard and I love it. I would happily donate but I am not familiar with Bitcoins. Do you have a Paypal account?

Cheers, Guido

On 15 Sep 2015, at 14:35, Arun Prakash Jana [email protected] wrote:

No problem! Glad to know it helps! Good luck! On a different note, in case this tool helps you commercially please consider donating a few bucks to my site: http://tuxdiary.com/2014/01/01/donate/

This is just a request and do not hesitate even if you think the amount is very less. It would help us in a big way with our maintenance expenses.

Regards,

Arun

http://tuxdiary.com/

On Tue, Sep 15, 2015 at 4:57 PM, coccoinomane [email protected] wrote:

Thank you so much, Arun! I was travelling so I couldn't raise the bug; you were much quicker than me 😊

Concerning the second request (add option to show only one field, e.g. URL or title), the need arises in the web agency where I work when a list of URLs matching a criterion is needed.

However, now that output redirection works, one can just dump the result to file and regex them to death 😊 So I guess I can do without the feature, even though I still think it would add to the tool.

Thanks again for the quick fix!

Cheers, Guido

— Reply to this email directly or view it on GitHub https://github.com/henux/cli-google/issues/1#issuecomment-140358769.

— Reply to this email directly or view it on GitHub https://github.com/henux/cli-google/issues/1#issuecomment-140373766.

coccoinomane avatar Sep 15 '15 14:09 coccoinomane

Can you please mail us from here: http://tuxdiary.com/contact/

That way our email IDs will be safe. I will send you the details.

jarun avatar Sep 15 '15 14:09 jarun

Or you can also send a mail to arun @ tuxdiary dot com.

jarun avatar Sep 20 '15 08:09 jarun