Nigel Shaw
0
Q:

gogle query python simple

try: 
    from googlesearch import search 
except ImportError:  
    print("No module named 'google' found") 
  
# to search 
query = "A computer science portal"
  
for j in search(query, tld="co.in", num=10, stop=10, pause=2): 
    print(j) 
0
from google import search
import requests

for url in search(ip, stop=10):
            r = requests.get(url)
            title = everything_between(r.text, '<title>', '</title>')
0

New to Communities?

Join the community