Hi! My name is Andriy Terentyev, I am SEO consultant focusing on online travel. I am SEO Strategy Advisor at Kyiv Independent (https://kyivindependent.com).
Previously I worked as SEO Lead at Kiwi.com, and COO of Hotelscan.com.
Here is my collection of SEO scripts on python that I find useful. Some of these scripts are written by me, sometimes with a bit of help from AI.
The script:
- takes a list of domains from a CSV file named [domains.csv][n-of-results/domains.csv],
- uses ScraperAPI.com to scrape the number of indexed pages from Google,
- saves the result in [n-of-results/n-of-results.csv]
Before you start:
- register at ScraperAPI.com -- registration is free, and you get 5000 free API credits per month,
- rename
renameto-config-py.pytoconfig.py, - add the ScraperAPI API key into
config.py, - add your list of domains in
domains.csvwithout removing the first linedomains.
The script:
- takes the list of keywords and crawl locations from news-keywords-tracking.csv;
- fetches Google SERP for this list of keywords;
- saves the links of articles that rank in "Top Stories" featured snippet into a CSV.
Before you start:
- register at DataForSeo.com to obtain API credentials.
- add your API keys in top-stories-fetch.py
PS: this is an older version of the script, which I am planning to update by September 20, 2024.
The easiest way to set up regular tracking of articles that are ranking on "Top Stories" is by setting up PythonAnywhere.com account with recurring tasks.