abenassi / Google-Search-API

Python based api for searching google web, images, calc, and currency conversion.
558 stars 217 forks source link

self.link sometimes yielding None #84

Open ANNwind opened 4 years ago

ANNwind commented 4 years ago

First off, I am just a Python amateur. So I might be oblivious to rookie mistakes.

I am having some issues with self.link. I have a datafile with ten keywords and I want to get the first 10 results for each keyword. With almost all keywords I have no problems, but some of them are yielding None. The keywords yielding None, differentiate between various tries, but it is always the tenth link. Code: image

In the above code, I have tried to built something that retries to get the link after it fails, but it does not seem to work properly yet.

bixing-udemy commented 4 years ago

I meet the same problem.