googlesearch
googlesearch copied to clipboard
search() gets stuck on infinite "while loop" if the search term has zero results
https://github.com/Nv7-GitHub/googlesearch/blob/be88ef64de65529e5d42f14b4f2cd3f675ae4adf/googlesearch/init.py#L42-L62
Code cannot exit the while loop if the value of start
never goes up, and the value of start
only ever goes up if a valid result is yielded.
For search terms that have zero results, this results on the code getting stuck trying to find something forever.
Any chance this can get merged in and released?