Iceloof/GoogleNews

'NoneType' object is not iterable

umertahir13 opened this issue · 2 comments

I used this library but when I could not find the page it prints nonetype object is not iterable but does not return exception in return which makes it impossible to identify on which page it will print the nonetype exception. Please return the exception so, in the script, this exception can be caught and this will help in identifying the page number for each search.

I used this library but when I could not find the page it prints nonetype object is not iterable but does not return exception in return which makes it impossible to identify on which page it will print the nonetype exception. Please return the exception so, in the script, this exception can be caught and this will help in identifying the page number for each search.

Will added it in the next release.

The new release version is allowed to throw exception if you set googlenews.enableException(True)