googlesearch
googlesearch copied to clipboard
Update __init__.py
I wanted to fix the problem for when the SERPs generated were less than the num_results specified and then the code got stuck in an infinite loop. With this new code, that shouldn't happen anymore and during my tests the code was able to keep on working as intended.