985 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
61
views
Azure Logic App GET to Google Custom Search returns 400 INVALID_ARGUMENT though same URL works in browser
I have a Consumption Logic App that retrieves two secrets from Key Vault (GOOGLE_API_KEY and GOOGLE_SEARCH_ENGINE_ID) and then calls Google Custom Search (customsearch.googleapis.com/customsearch/v1) ...
0
votes
1
answer
87
views
Using querySelector to find if a div exists in a Javascript Callback for Google Custom Search
I'm using the Javascript callback in Google Custom Search to style the web search results. https://developers.google.com/custom-search/docs/more_examples
I need to figure out a way using the ...
2
votes
1
answer
100
views
Creating and prepending a div with the Google Custom Search Javascript Callback
I'm using the Javascript callback in Google Custom Search to style the web search results.
https://developers.google.com/custom-search/docs/more_examples
One problem I have is with a simple loop to ...
1
vote
0
answers
155
views
How can I copy the css for the Custom Search engine search bar to make a similar looking dropdown box?
I tried copying the CSS from the developer tools when I inspected the search bar, but it doesn't exactly match the search bar's appearance. I don't know if it's possible, but if it is, it would be ...
0
votes
0
answers
149
views
Google CSE API returns different results than public CSE URL and regular Google search
I'm encountering inconsistent search results between Google's Custom Search JSON API, the public CSE URL, and regular Google searches despite identical queries and configuration. Here's my setup:
CSE ...
0
votes
1
answer
257
views
CSS styling while using a Javascript callback and tabs in Google Custom Search results
I'm using Google Custom Search (the hosted type, not the API) and have custom styled the results using the callback feature.
I have added margin-left on .gs-snippet to move the text snippet to the ...
0
votes
1
answer
83
views
Google Custom Search API returns 0 results for an indexed URL
I'm using the Google Custom Search JSON API to check whether a specific URL is indexed. However, even though I can find the page in Google manually, the API returns totalResults: 0
Here’s the URL I’m ...
0
votes
0
answers
104
views
How can I concatenate or append sorting variables to search URLs?
This is a followup to my earlier question How can I get tabbed site and image search results using Google Programmable Search?
I'm now trying to add date and sort parameters to the two URLs as ...
0
votes
1
answer
169
views
Query length in Custom Search API
I'm sending requests to Custom Search API like this:
GOOGLE_SEARCH_URL=f'https://www.googleapis.com/customsearch/v1?key={GOOGLE_SEARCH_API_KEY}&cx={SEARCH_ENGINE_ID}&q={encoded_text}'
The ...
3
votes
2
answers
298
views
How can I get tabbed site and image search results using Google Programmable Search?
I'm trying to develop a tabbed search results page using the Google Programmable Search Engine (PSE) and their JSON API in order to have the same appearance as Google's hosted search engine, which ...
0
votes
1
answer
82
views
Changing nested markup with getElementsByClassName
I'm working with the API of Google's Programmable Search Engine and using a callback to chnage the stying of output, specificaly the font size of the title of each search result snippet.
What I have ...
0
votes
0
answers
137
views
Is it possible to pass a location to the Google Custom Search API while querying it?
I'm working on integrating Google's Custom Search API into my application, and I’ve run into an issue with retrieving location-specific search results using the gl (geolocation) parameter.
What I’m ...
1
vote
0
answers
177
views
How to handle Google Custom Search API limitation of more than 32 keywords per request in Java?
I'm working with the Google Custom Search API in a Java Spring Boot application and facing a limitation where the API only supports up to 32 keywords per query. However, my application needs to ...
1
vote
0
answers
166
views
Differences Between API and Web Interface results in Google Custom Search Engine
I'm currently working on a project that utilizes the Google Custom Search Engine (CSE) API to retrieve fact-checked information based on user queries. However, I'm encountering a significant issue ...
0
votes
0
answers
85
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
...