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:
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.
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:
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.