Skip to main content

🚀 Advanced Keyword & SERP Scraper v0.5.0

A lightning-fast, asyncio-powered dual-mode CLI tool designed for SEO professionals, digital marketers, and e-commerce sellers.

Not only can it extract thousands of long-tail search suggestions, analyze SEO potential, and group them into topic clusters—but it now features a SERP & FAQ Extractor to scrape organic Google search results and "People Also Ask" questions.

Developed with 🔥 by LORD SRIJWN


✨ Key Features

🔍 Mode 1: Keyword Research (--mode keyword)

  • ⚡ Ultra-Fast Async Engine: Fetches thousands of keywords in mere seconds without lag.
  • 🌍 Multi-Platform Support: Scrape keywords from Google, YouTube, Amazon, and Bing.
  • 📊 SEO Opportunity Score: Grades each keyword (1-100) based on length, intent, and ranking difficulty.
  • 📈 Keyword Trend Status: Identifies if a keyword is a 🔥 Breakout Trend, 📈 Rising, 💡 Emerging, or ➖ Stable.
  • 🧠 Topic Clustering: Automatically groups keywords into relevant topic clusters (e.g., "Cotton", "Silk").
  • 📝 N-Gram Analysis: Generates frequency counts for Unigrams, Bigrams, and Trigrams.
  • 🕵️‍♂️ Recursive Deep Search (Level 2): Digs deep to find hidden, ultra-low competition long-tail keywords.

🌐 Mode 2: SERP & FAQ Extractor (--mode serp)

  • 🏆 Top Ranking Sites Extraction: Scrape the exact Title, URL, and Description of the top 10, 20, or 50 organic Google results.
  • 💡 People Also Ask (FAQ) Scraper: Automatically extracts user questions from Google's PAA section to help you build highly optimized FAQ schemas.

⚙️ Installation

Install or upgrade the package globally using pip:

pip install --upgrade advanced-keyword-scraper

(Note: Requires Python 3.8 or higher. Uses beautifulsoup4, aiohttp, and pandas)


📖 User Manual & Usage Guide

Run the tool from anywhere in your terminal using the keyword-scraper command.

Basic Syntax

keyword-scraper [KEYWORDS] [OPTIONS]

Command Line Arguments

Argument Default Description
keywords Required One or more base keywords (use quotes for multiple words).
--mode keyword NEW: Choose keyword (for suggestions) or serp (for Google results & FAQs).
--engine google Target platform (google, youtube, bing, amazon). Note: SERP mode is Google-only.
--results 10 NEW: Number of top organic results to scrape (only applies to --mode serp).
--country in 2-letter country code (e.g., in for India, us for USA).
--lang en Language code (e.g., en, bn, hi).
--depth 1 Search depth (1 = Normal, 2 = Deep recursive search).
--exclude None Comma-separated list of words to ignore (e.g., free,crack).
--format excel Output format. Choices: excel, sqlite, all.
--threads 20 Max concurrent async connections. Higher = faster.

💡 Practical Examples

1. 🌟 NEW: Scrape Google SERP & Extract FAQs

Find out exactly who is ranking for a keyword and what FAQs Google shows: keyword-scraper "ssc cgl syllabus" --mode serp --results 20

2. Deep YouTube Search with SQLite Export

Extract thousands of hidden YouTube keywords, ignore outdated years, and save to a database: keyword-scraper "ssc cgl strategy" "maths tricks" --engine youtube --depth 2 --exclude "2023,2024" --format sqlite

3. Regional Local SEO (Bengali)

Find out what local customers are searching for in their native language: keyword-scraper "annapurna bhandar" "অন্নপূর্ণা ভান্ডার" --engine google --lang bn

4. E-commerce Keyword Research (Amazon)

Find high-intent buying keywords for product listings: keyword-scraper "cotton kurti" "party wear saree" --engine amazon --format excel

5. Massive Topic Clustering

Let the tool automatically cluster keywords by topics and generate N-Grams: keyword-scraper "digital marketing" "seo course" --engine google --depth 2 --threads 30


📁 Output Structure

The tool creates a folder named SEO_Keywords in your current directory.

If running in --mode keyword (Excel format):

  1. All Keywords: Master dataset (Intent, SEO Score, Trend Status).
  2. Top Words / Bigrams / Trigrams: N-Gram frequency analysis.
  3. Topic Clusters: Keywords grouped automatically by category into multiple sheets.

If running in --mode serp (Excel format):

  1. SERP & FAQ Data: The complete list of Organic Results and FAQs mixed by rank.
  2. Extracted FAQs: A dedicated sheet containing ONLY the "People Also Ask" questions for easy copying.

🤝 Contributing

Found a bug or want to add a new engine? Feel free to fork the repository, make your changes, and submit a pull request!

📜 License

This project is licensed under the MIT License.

Crafted by LORD SRIJWN

Metadata

Release files for advanced-keyword-scraper 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for advanced-keyword-scraper 0.5.2
File Size Uploaded
advanced_keyword_scraper-0.5.2.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for advanced-keyword-scraper 0.5.2
File Interpreter ABI Platform
advanced_keyword_scraper-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / advanced_keyword_scraper-0.5.2.tar.gz

Download URL advanced_keyword_scraper-0.5.2.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
817804728e4954f72462a7ce47efa6516df2f0e00afd8a5083e26479dc902af1
BLAKE2b-256 checksum
How to use checksums
392039ffc2e600c46c226f60aee47614f34c293395b03b0414c1c346519462cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / advanced_keyword_scraper-0.5.2-py3-none-any.whl

Download URL advanced_keyword_scraper-0.5.2-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b72ea6af11d96a986eb409891c5e4b461f81d6584b161b83611ee40cccf945e
BLAKE2b-256 checksum
How to use checksums
1105362f88580ed5b7a101eb4251f1e9dc81ccd98c613880bb1a70e2f269c198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

1.9.9

2 release files

1.9.6

2 release files

1.9.4

2 release files

1.5.2

2 release files

1.5.1

2 release files

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page