I am using xgoogle to return top 10 url for a given keyword. The code is:
from xgoogle.search import GoogleSearch
gs = GoogleSearch("google scraper")
gs.results_per_page = 10
results = gs.get_results()
for res in results:
print res.url.encode('utf8')
The problem is it only prints few url in random order. Any help would be appreciated, thank you !!