googlesearch
googlesearch copied to clipboard
Added a timeout to __init__.py
Since requests seems to have a very long time out length, we can add a timeout in order to stop requests from blocking up our code. This is especially useful when using proxies that may not respond. In my opinion, 5 seconds seems like a quite generous time to allow a request to stay going for, but that can be changed to be longer.