ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Proxies

Own private proxy API

Submitted by jackyboyy at 12-12-2024, 10:17 PM


Own private proxy API
615 Views
jackyboyy's Avatar'
jackyboyy
Offline
#1
[ Hidden Content! ]
**Proxy Server with Validation and Web Interface**

**Overview**:
This project provides a robust proxy server system that fetches proxies from various sources, validates their connectivity, and serves them through a web interface. It supports HTTP, SOCKS4, and SOCKS5 proxies, with functionality for both general and validated proxy lists.

**Features**:
- **Fetch Proxies**: Automatically fetches proxies from a list of URLs defined in a `proxyurl.txt` file.
- **Validation**: Validates proxies to ensure they work and respond within a 3-second timeout.
- **Endpoints**: Serves proxies via REST API endpoints.
- **Web Interface**: A clean and interactive web page to access and manage the proxies.
- **Auto-Update**: Automatically refreshes proxy lists every 20 minutes.
- **Manual Control**: Clear results and fetch new proxies manually through the web interface.

---

**Installation Instructions**:

1. **Install Dependencies**:
   Ensure Python 3.8+ is installed, then install required libraries:
   ```bash
   pip install flask requests
   ```

2. **Prepare Proxy Sources**:
   Create a `proxyurl.txt` file in the same directory as the script, containing URLs to fetch proxies from, one per line. For example:
   ```
   https://raw.githubusercontent.com/TheSpe...socks4.txt
   https://raw.githubusercontent.com/TheSpe...socks5.txt
   https://free-proxy-list.net/
   ```

3. **Run the Application**:
   Start the server:
   ```bash
   python script_name.py
   ```
   Replace `script_name.py` with the name of your script.

4. **Access the Web Interface**:
   Open a browser and navigate to `http://localhost:5000`. Use the buttons to:
   - **Clear Results**: Remove all fetched and validated proxies.
   - **Fetch New Proxies**: Trigger immediate fetching and validation of new proxies.

5. **API Endpoints**:
   - Fetch all proxies:
     - `/proxies/http`
     - `/proxies/socks4`




0
Reply


Messages In This Thread
Own private proxy API - by jackyboyy - 12-12-2024, 10:17 PM
RE: Own private proxy API - by jackyboyy - 28-12-2024, 10:40 PM
RE: Own private proxy API - by ho12300 - 29-12-2024, 12:09 AM
RE: Own private proxy API - by saharsh2 - 11-01-2025, 09:25 AM
RE: Own private proxy API - by aspw - 11-01-2025, 05:20 PM
RE: Own private proxy API - by Maxxxx06 - 12-01-2025, 12:48 PM
RE: Own private proxy API - by fernandoiura - 12-01-2025, 01:12 PM
RE: Own private proxy API - by rustjavi - 15-01-2025, 06:14 AM
RE: Own private proxy API - by Theoverlord - 28-01-2025, 04:23 PM


Users browsing this thread: