Google Search Results Scraper avatar

Google Search Results Scraper

Try for free

Pay $3.50 for 1,000 results

View all Actors
Google Search Results Scraper

Google Search Results Scraper

apify/google-search-scraper
Try for free

Pay $3.50 for 1,000 results

Scrape Google Search Engine Results Pages (SERPs). Select the country or language and extract organic and paid results, ads, queries, People Also Ask, prices, reviews, like a Google SERP API. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

Do you want to learn more about this Actor?

Get a demo
PO

can't set safe search on or off

Closed

pete_crawley-owner opened this issue
4 months ago

I need to be able to search for the same query with and without safe search on to monitor the difference in the results.

The expected outcome is that the same country and location when searched for the same search term that is on the edge of Googles policy will be more generic and help/how to related when you have safe search on and will have more retailers with safe search off.

PO

pete_crawley-owner

4 months ago

In an ideal world this would be an optional configurable field in the Additional settings as on/off/both secondly it exist as a column in the results showing the state it was in.

milunnn avatar

Hi, thanks for your patience. We will discuss this feature within our team and let you know.

milunnn avatar

Hi again, since there is not big enough demand for this feature, we will probably not implement it in the close future. But I found a solution for turning off/on safe search for you, and that is by using the "safe" query parameter in the URL.

You can actually pass to the "search terms" field a whole google search URL. So by setting the "safe" URL parameter to "off" or "on", you can disable/enable safe search.

One example:

  1. I search for "adult game" and copy the URL: https://www.google.com/search?q=adult+game&rlz=1C5CHFA_enCZ1102CZ1102&oq=adult+game&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTI2MDE5ajBqOagCALACAA&sourceid=chrome&ie=UTF-8

  2. I add the "safe" parameter and set it to "off" (to disable safe search) like this: https://www.google.com/search?q=adult+game&rlz=1C5CHFA_enCZ1102CZ1102&oq=adult+game&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTI2MDE5ajBqOagCALACAA&sourceid=chrome&ie=UTF-8&safe=off

  3. You can also enable the filter by setting it to "on": https://www.google.com/search?q=adult+game&rlz=1C5CHFA_enCZ1102CZ1102&oq=adult+game&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTI2MDE5ajBqOagCALACAA&sourceid=chrome&ie=UTF-8&safe=on

Hope that helps your purpose.

PO

pete_crawley-owner

3 months ago

Thanks for the details Milan, will give it a test. Appreciate there may be a small number of other users after this feature.

Developer
Maintained by Apify
Actor metrics
  • 1.7k monthly users
  • 187 stars
  • 100.0% runs succeeded
  • 2.5 days response time
  • Created in Feb 2019
  • Modified 23 days ago