Skip to content
This program categorizes a given query's "search intent" via the kinds of SERP features present for the query.
Python
Branch: master
Clone or download
Latest commit 6c780ae Apr 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md updated README Apr 2, 2019
serp-intent-categorizer-dynamic.py added comments Mar 20, 2019
serp-intent-categorizer-static.py
serp_intent_queries.txt renamed modules Mar 20, 2019

README.md

Requirements: Purchase SERPApi Key~ https://serpapi.com/

Modules:

serp-intent-categorizer-static.py ~ This is the SERP intent module that has a static location used when calling the API. I have it set by default to cleveland,ohio.

serp-intent-categorizer.py ~ This is the SERP intent module that can have a custom set location for calling APi. Queries placed in 'serp_intent_urls.text' must be in the format: query,city,state. The city and state values are then stripped and implemented into the location field in query params.


Program Summary: These scripts read a list of queries from a TXT file, depending on which module you choose above will determine how you structure the queries to run.

The API is called with the query, then the SERP is analyzed in a variation of combinations, each corresponding with a different type of search intent.

Just for quick context, "Search Intent" simply means what stage in the buying process a user is at with the given query. Based upon the SERP features present for a given query, a label is assigned to the query.

Results of script run are collected in CSV.

You can’t perform that action at this time.