This is a Python script that allows you to scrape product information from G2. The script first gets the product links and then scrape the products.
- Clone Starter Template
git clone https://github.com/omkarcloud/g2-scraper
cd g2-scraper
- Install dependencies
python -m pip install -r requirements.txt
- Run Project
python main.py
- Open config.py and paste
from .extract_product_links import ExtractProductLinks
from .extract_products import ExtractProducts
tasks_to_be_run = [
# ExtractProductLinks,
ExtractProducts
]
- Run Project
python main.py
The products will be extracted and stored in the output/finished.csv and output/finished.json file after scraping.
The G2 Scraper project uses the Bose Framework, a web scraping framework that is Swiss Army Knife for web scraping. I encourage you to learn about Bose Framework at https://www.omkar.cloud/bose/