Skip to content

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

Notifications You must be signed in to change notification settings

filo-g/href-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail/Phone Scraping

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

Requirements

Libraries

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.

Setup

  1. Clone the repository:

    git clone https://github.com/filo-g/href-scraper
    cd href-scraper
  2. Add exec permissions to both files:

    chmod +x setup.sh
    chmod +x run.sh
  3. Run setup.sh: This will create the virtual environment and install the requirements

    ./setup.sh

Usage

To execute the application with a string parameter, run:

./run.sh "example string here"

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published