Skip to content

Instantly share code, notes, and snippets.

@zakirangwala
Created September 23, 2020 13:17
Show Gist options
  • Save zakirangwala/d01159f6bf5600d2a8f9688b4b1cb0b2 to your computer and use it in GitHub Desktop.
Save zakirangwala/d01159f6bf5600d2a8f9688b4b1cb0b2 to your computer and use it in GitHub Desktop.
Tutorial Code : Make Google Query
# 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