Questions tagged [google-custom-search]
for questions related to implementing Google Custom Search on a web site, or using the Google Custom Search APIs.
google-custom-search
981
questions
0
votes
0
answers
36
views
How to filter pornographic and violent content
I want to use custom search JSON API on our products, but when querying Chinese query, there will be a lot of irrelevant results and some pornographic content, such as this curl request, I still can't ...
0
votes
0
answers
36
views
Exclude from URL from google custom search not working
I am trying to use a Google custom search engine to query images. I want to avoid copyrighted imaged so I added Getty and Alamy to the list of Sites to exclude. Unfortunately I keep getting links from ...
0
votes
0
answers
37
views
Batch Search from Google search API
I am in a project in where the system needs to search bulk of inputs via Google and save the responses. I have tried to do the search sequentially using Google custom search API for the inputs but it ...
0
votes
0
answers
70
views
Python exclude non accessible image with requests
I've written a really simple function with requests, which with a giver URL checks if it gets a response and if this response is an image. It actually works, but is crazy slow at times. I'm too
...
-1
votes
1
answer
145
views
How to get full title of website in google custom search api?
This is my code.
def google_search(query, **kwargs):
service = build("customsearch", "v1", developerKey=app.config.get("GOOGLE_API_KEY"))
res = service.cse().list(...
0
votes
0
answers
149
views
Google Custom Search API gl parameter not working
I am new to the CustomSearch API.
I am wanting to use the gl parameter to focus my search results.
I am based in the UK.
What happens is, I go to www.google.co.uk in a new incognito tab, search for ...
1
vote
0
answers
249
views
Google Programmable Search Engine Custom Search JSON API returning different results to CSE web interface for same Search engine ID
We see different results from the Google Programmable Search Engine Custom Search JSON API than from the Customer Search Engine web interface when using the exact same Search Engine ID. In some cases, ...
0
votes
0
answers
86
views
How do I use Google Custom Search to find and show words based on input characters on the same page in WordPress?
I want to use Google Custom Search to find and show words based on input characters on the same page.
I see some WordPress websites use Google Custom Search like this: they place a search form inside ...
0
votes
0
answers
178
views
How can I extract more than ten results from Google's custom search API?
I've managed to wrangle this code together to turn a JSON file returned from a Google custom search engine into a .csv file. It works. The issue is that Google only returns ten results per page.
...
1
vote
1
answer
732
views
I am getting a 403 "The caller does not have permission" error when using the Google Custom Search API that I haven't gotten before
I am getting the following error when I make calls to the Google Custom Search API:
{
"error": {
"code": 403,
"message": "The caller does not have ...
0
votes
0
answers
43
views
Google CSE API returning multiple variations of same image
When sending a request to the google CSE API, I end up getting multiple variations of the same image.
const pagesToDownload = 1;
let pagesDownloaded = 0;
(async () => {
const { google } = ...
0
votes
1
answer
136
views
Searching inside the metadata of the PDF documents
I have been using Google custom search API for the following task:
Search for certain keywords with "filetype:pdf"
This works fine as expected, however it only allows searching within the ...
0
votes
0
answers
35
views
Google Custom Search Link Attribute Not Setting Properly
I am trying to accomplish the simple task of giving the user a checkbox in which they are able to set the link target for the results on a Google Custom Search "widget" (if you will). But ...
0
votes
0
answers
93
views
Custom search engine help - Google
I'm experiencing issues with the custom search engine API. Essentially, I'm trying to create a tool that verifies if specific URLs are indexed. Although it's somewhat functional, there are hiccups.
...
0
votes
1
answer
521
views
Why is my google programmable search engine showing "no results"?
I used Google programmable search engine to create a custom search for my website but every time I search something that I know is on the website I get the response "no results" but ads ...