Skip to content

jpigla/gquestions

 
 

Repository files navigation

❓❔👾 Gquestions CLI Usage ❔❓

![pybadge] (https://img.shields.io/badge/python-%3E%3D3.7-important.svg) badge

asciicast

⚠ Disclaimer

This software is not authorized by Google and doesn't follow Google's robots.txt. Scraping without Google explicit written permission is a violation of thei terms and conditions on scraping and can potentially cause a lawsuit

Install dependencies

pip install -r requirements.txt

Customization by Philipp

  • added search for German language / SERP (removed Spain)
  • changed column titles in csv export

🔍 Usage:

python gquestions.py query <keyword> (en|de) [depth <depth>] [--csv] [--headless]

Print help message.

gquestions.py (-h | --help)

💡 Examples:

Search "flights" in English and export in html

python gquestions.py query "flights" en

Search headlessly "flights" in English and export in html

python gquestions.py query "flights" en --headless   

Search "flüge" in German and export in html and csv

python gquestions.py query "flüge" de --csv

Search "flüge" in German with a depth of 1 and export in html

python gquestions.py query "flüge" de depth 1 

Advanced use: using operators with queries:

python gquestions.py query '"vpn" site:https://protonmail.com/blog' en --csv

License

All assets and code are under the GPL v3 License unless specified otherwise.

👀 Help:

Got stuck? Check help!

python gquestions.py -h

Gquestions_graph

About

Find "People Also Ask" questions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.3%
  • HTML 43.1%
  • Shell 1.6%