Questions tagged [serpapi]
10 questions
2
votes
1 answer
Grabbing google sponsored sites
I'm trying to grab a sponsored google site via an api called serpapi on python. But it doesn't seem to grab them. it only displays no ads
This is the code that I use.
from serpapi import GoogleSearch
import json, os
params = {
"api_key":…

CyberHunter
- 35
- 4
1
vote
1 answer
Serpapi not showing ad results
I am using the following python code to get the ad results for a query:
However, there are no ad results coming through on the response. When I google search "pest control" I see that there are search ads.
Is there a reason serpapi is not capturing…

rshfq
- 11
- 2
1
vote
1 answer
How to filter fows in Pandas using partial string in column
I've used the SerpAPI to pull down some data about jobs in a sector I want to return to.
There is a lot of junk about training and I'd like to remove the results based on the displayed_link column.
position title link displayed_link date …

elksie5000
- 7,084
- 12
- 57
- 87
1
vote
1 answer
is there any way to extract place details in google maps API?
Currently I am using Serp Api to extract places, but there is some information left. Like Question and Answers, At this place.(https://i.stack.imgur.com/giaUG.png)
I have tried this code
from serpapi import GoogleSearch
params = {
"device":…

chintan bhimani
- 41
- 6
0
votes
1 answer
langchian LLM getting Serpapi error saying that the api key is invalid
I am trying to create a LLM that can use search function to get the answer of the user's questions from the internet. The current code I have is this. I have imported all the required files, so I am skipping the import…

zizon
- 3
- 1
0
votes
0 answers
Google Scholar Organic Results API Entire Snippet?
I was wondering how I could get the whole snippet?. It seems to cut off half of the abstract of any queried research paper.
Example Python Code:
from serpapi import GoogleSearch
params = {
"engine": "google_scholar",
"q": "Delving deep into…
0
votes
1 answer
Get SerpApi search results into CSV files using Python
I'm fairly new and in the middle of learning how to using API for collecting data and having difficulties when getting the results. I entered the code below and wanted to get the results in CSV file.
from serpapi import GoogleSearch
params =…

McKeder
- 1
0
votes
0 answers
getting the following error "pydantic.error_wrappers.ValidationError: 1 validation error for SerpAPIWrapper"
Im getting the following error in vscode but when i run the code in google collab it works fine. looking for some insight into the problem. the keys I replaced for safety reasons but otherwise the code is what I run.
from langchain.utilities import…

Jason Z
- 1
0
votes
1 answer
Google lens serpapi is giving me an abortsignal error. The code was the same the other day and now this error popped up?
My nodejs script was working perfectly fine the other day and now I'm getting this abort signal error below. The code is literally copied verbatim from the serpapi site. I had my own code that's slightly different but I get the same error even when…

Zach Wadzinski
- 9
- 2
0
votes
1 answer
Google Scholar API of SerpApi fetches only first 100 articles from GoogleScholar profile
What am I trying to do ?
I am trying to use SerpApi's Google Scholar API for fetching articles of the publishers and was expecting all article titles to store in the array $title but it limits only to the first 100 articles.
Any Help Would be really…

Ana Fernandes
- 51
- 5