/Pindo-Phone-Scraper

Pindo Phone Scraper is a Python script designed to extract phone numbers from advertisements on the Pindo.ir website. It uses multi-threading to efficiently scrape and collect unique phone numbers, saving them to a text file.

Primary LanguagePythonMIT LicenseMIT

Pindo Phone Scraper

Features

  • Multi-threaded scraping for improved performance
  • Automatic pagination handling
  • Duplicate phone number filtering
  • Saves extracted phone numbers to a file

Installation

Requirements

  • Python 3.6+
  • requests library

Steps

  1. Clone this repository:

    git clone https://github.com/santrichm/Pindo-Phone-Scraper.git
    cd pindo-phone-scraper
    
  2. Install the required packages:

    pip install -r requirements.txt
    

Usage

Run the script with Python:

python pindo.py

The script will start scraping phone numbers and save them to phones.txt in the same directory.

Note

Please ensure you have the right to scrape data from Pindo.ir and that you comply with their terms of service and robots.txt file. Use this script responsibly and ethically.

License

This project is open-source and available under the MIT License.

Disclaimer

This tool is for educational purposes only. The user assumes all responsibility for the use of this script and must ensure they have permission to scrape the target website.