opsdisk / yagooglesearch

Yet another googlesearch - A Python library for executing intelligent, realistic-looking, and tunable Google searches.
BSD 3-Clause "New" or "Revised" License
243 stars 42 forks source link

extra_params={"uule": f'{uule}'}, #29

Closed camingout closed 1 year ago

camingout commented 1 year ago

uule = "w+CAIQICIiV2Fyc2F3LE1hc292aWFuIFZvaXZvZGVzaGlwLFBvbGFuZA" but in url we have &uule=w%2BCAIQICIiV2Fyc2F3LE1hc292aWFuIFZvaXZvZGVzaGlwLFBvbGFuZA simbol "+" is "%2B" but it's not correct

opsdisk commented 1 year ago

Thanks for putting in an issue @camingout Looks like it's URL encoding, which you do not want for the adhoc uule parameter you're adding?

For the time being, you can try and comment out this line https://github.com/opsdisk/yagooglesearch/blob/master/yagooglesearch/__init__.py#L464 which won't convert the + to a %2B

uule reference: https://valentin.app/uule.html

opsdisk commented 1 year ago

I removed any URL encoding of extra_params in https://github.com/opsdisk/yagooglesearch/pull/30