A simple web scraper that makes it easy for marketers to extract emails and phone numbers (leads) from google search results.
Quite a simple process, you simply enter your search query, file-name to store the data, start and stop to denote number of pages to scrape. The system will load up your query headlessly, meaning you wouldn't even see it while it does its scrapping. This scraper will scrape phone numbers and email addresses including a full screenshot of the webpages and navigate google search pages until it gets to your inputed stop page.
To start you would need to activate the virtual environment
source env/bin/activate
.\env\Scripts\activate
python3 --version (supports 3.7 and above)
pip3 install -r requirements.txt
python3 main.py "my query" --start=1 --stop=5 --file="a_file_name_to_save_data"
A screenshot of websites the scraper visits is taken and stored in the STATIC folder. Check the EXTRACTED folder to view content extracted by this tool (usually in csv format)
Please share and support this libary with your code contributions.