This short python script gets a query to search for as a parameter and retrieves all the emails and phone numbers inside the 30 first results
- Python 3.x
pip
(Python package installer)
This project requires the following Python libraries (may be outdated, correct list inside requirements.txt
file):
beautifulsoup4
certifi
charset-normalizer
googlesearch-python
idna
requests
soupsieve
urllib3
These libraries will be installed automatically inside a virtual environment via the requirements.txt
file.
-
Clone the repository:
git clone https://github.com/filo-g/href-scraper cd href-scraper
-
Add exec permissions to both files:
chmod +x setup.sh chmod +x run.sh
-
Run
setup.sh
: This will create the virtual environment and install the requirements./setup.sh
To execute the application with a string parameter, run:
./run.sh "example string here"