Created
September 23, 2020 13:17
-
-
Save zakirangwala/d01159f6bf5600d2a8f9688b4b1cb0b2 to your computer and use it in GitHub Desktop.
Tutorial Code : Make Google Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import Search module | |
from googlesearch import search | |
# Make Google Query | |
def google_query(query): | |
link = [] | |
for j in search(query, tld="ca", num=10, stop=10, pause=2): | |
link.append(j) | |
return link |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment