google-custom-search

get more than 10 results Google custom search API

get more than 10 results Google custom search API Question: I am trying to use Google custom search API,what I want to do is search the first 20 results, I tried changing the num=10 in URL to 20 but gives 400 Error, How can I fix or requests the second page of results ?(Note I …

Total answers: 3

How do i produce Unique result with Google's custom image in python

How do i produce Unique result with Google's custom image in python Question: so Im using Google’s Custom search api for python (3.6.6) to search for custom Images, i’ve been using this code: from googleapiclient.discovery import build import pprint my_api_key = ‘AIzaSyDouxn16TxJ8vym5AC1_A3nlMCzc5gpRjg’ my_cse_id = ‘007260579175343269764:pt3gyxmajmg’ def google_search(search_term, api_key, cse_id, **kwargs): service = build(“customsearch”, “v1”, developerKey=api_key) …

Total answers: 1

Programmatically searching google in Python using custom search

Programmatically searching google in Python using custom search Question: I have a snippet of code using the pygoogle python module that allows me to programmatically search for some term in google succintly: g = pygoogle(search_term) g.pages = 1 results = g.get_urls()[0:10] I just found out that this has been discontinued unfortunately and replaced by something …

Total answers: 3

google custom search api return is different from google.com

google custom search api return is different from google.com Question: I am using google api via python and it works, but the result I got from api is totally different from google.com. I found the top result given by custom search are google calendar,google earth and patents. I wonder if there is a way to …

Total answers: 4