christophebe / serp

Google Search SERP Scraper
101 stars 23 forks source link

add option to search for exact same query instead of the one suggested by google #10

Closed utkarsh914 closed 4 years ago

utkarsh914 commented 4 years ago

This pull request fixes this issue #9 What it does: if exactQuery: true is set, it checks if the response contains No results found for ${query} If yes, then return empty array.

with exactQuery: false

Screenshot (99)

with exactQuery: true

Screenshot (100)

The behavior is as expected now.

christophebe commented 4 years ago

This is a nice feature but we should not dependent on phrase in english. This is not working on specific country (google.fr, google.es, ....). Apparently there is not usefull selector