Skip to content

zinzied/PROXYROLL

Repository files navigation

🚀 PROXYROLL 🚀

🔍 A powerful proxy testing and scraping tool that helps users find and validate proxies from various sources! 🔍

image

The app provides an efficient way to collect and verify the validity of proxies, making it a valuable asset for anyone in need of reliable proxy lists. Here's a breakdown of its key features and usage:

1. 🌐 Proxy Scraping:

  • PROXYROLL can scrape proxies from various websites that offer proxy lists.
  • It has a list of predefined URLs to source these proxies, including both HTTP and SOCKS proxies.
  • Users can easily update the URL sources for more flexibility.

2. 🧪 Proxy Testing:

  • The main functionality of PROXYROLL is to test the validity of proxies.
  • It sends requests through each proxy to a test URL, checking their reachability and responsiveness.
  • The tool handles common issues like timeouts and connection errors gracefully.

3. ⚡ Concurrent Testing:

  • To increase efficiency, the app utilizes multithreading.
  • Configurable thread counts:
    • Up to 30 threads for proxy scraping
    • Up to 100 threads for proxy testing
  • Significantly improved performance with parallel processing

4. 📁 Organized Valid Proxy Storage:

  • PROXYROLL categorizes valid proxies based on their types (HTTP, SOCKS4, SOCKS5)
  • Valid proxies are saved in two formats:
    • Standard names for easy access: http-valid.txt, socks4-valid.txt, socks5-valid.txt
    • Timestamped files for archiving: http_proxies_YYYYMMDD_HHMMSS.txt
  • Automated directory creation and management
  • Files are saved in a dedicated 'proxies' folder

5. 📊 User-Friendly Logging:

  • Comprehensive logging system with both file and console output
  • Color-coded progress bars showing real-time scraping and testing progress
  • Detailed statistics for each proxy type including:
    • Total proxies scraped
    • Number of valid proxies
    • Success rate percentage
  • Beautiful ASCII art interface with welcome message

6. 🛠️ Enhanced Features:

  • Improved proxy validation with multiple retry attempts
  • Automatic proxy type detection
  • Thread-safe file operations
  • Better error handling and reporting
  • Support for various proxy formats and automatic normalization

7. ⚙️ Technical Specifications:

  • Configurable timeout settings
  • Support for HTTP, SOCKS4, and SOCKS5 proxies
  • Parallel processing for both scraping and testing
  • Real-time progress tracking with tqdm
  • Automatic proxy format detection and cleaning

🌐 Web Interface:

  • PROXYROLL now includes a web interface to view the valid proxies.
  • The web interface is built with Flask and displays the proxies in a clean and organized manner.
  • To run the web interface, you need to install Flask: pip install Flask.
  • Then, run the app: python app.py.
  • The web interface will be available at http://localhost:5000.

🚀 Usage:

# To start the proxy scraper:
python main.py

# To start the web interface:
pip install Flask
python app.py

📂 Output Structure:

PROXYROLL/
├── app.py
├── templates/
│   └── index.html
├── proxies/
│   ├── http-valid.txt                    # Easy access to HTTP proxies
│   ├── socks4-valid.txt                  # Easy access to SOCKS4 proxies
│   ├── socks5-valid.txt                  # Easy access to SOCKS5 proxies
│   ├── http_proxies_YYYYMMDD_HHMMSS.txt  # Archived HTTP proxies
│   ├── socks4_proxies_YYYYMMDD_HHMMSS.txt # Archived SOCKS4 proxies
│   └── socks5_proxies_YYYYMMDD_HHMMSS.txt # Archived SOCKS5 proxies
└── scraper.log

💖 Donations

If you feel like showing your love and/or appreciation for this simple project, then how about buying me a coffee or milk? ☕🥛

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks