You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Tomz295
changed the title
search() gets stuck on infinite "while loop" if the search term returns no results
search() gets stuck on infinite "while loop" if the search term has zero results
Jun 16, 2022
googlesearch/googlesearch/__init__.py
Lines 42 to 62 in be88ef6
Code cannot exit the while loop if the value of
start
never goes up, and the value ofstart
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.
The text was updated successfully, but these errors were encountered: