from googlesearch.googlesearch import GoogleSearch
def google_query(query, api_key, cse_id, **kwargs):
query_service = build("customsearch", "v1", developerKey=api_key, cache_discovery=False)
query_results = query_service.cse().list(q=query, # Query
cx=cse_id, # CSE ID
**kwargs
).execute()
return query_results['items']
Twitter Bookmarklet and Tweet This Page Link - Moopz Here's the code javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://moopz.com/tweetbm.js');document.body.appendChild(e)})())
Comments
Post a Comment