import requests
r = requests.get('https://www.google.com/search', {'q': 'Курс доллара'})
# Get the first 20 hits for: "Breaking Code" WordPress blog
from googlesearch import search
for url in search('"Breaking Code" WordPress blog', stop=20):
print(url)