Skip to content

A Go program that automatically parses and checks proxy servers from various sources.

Notifications You must be signed in to change notification settings

hightemp/proxy_parser_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy_parser_checker

A Go program that automatically parses and checks proxy servers from various sources.

Build

make build
./proxy_parser_checker

Static build

make build_static
./proxy_parser_checker_static

API Endpoints

All endpoints are prefixed with /api/v1

Get All Working Proxies

  • URL: /proxies/working
  • Method: GET
  • Response: List of all working proxy servers

Get First Working Proxy

  • URL: /proxies/working/first
  • Method: GET
  • Response: Returns a single working proxy server

Get All Proxies

  • URL: /proxies
  • Method: GET
  • Response: List of all proxy servers (working and non-working)

Add New Proxy

  • URL: /proxies
  • Method: POST
  • Body:
    {
      "ip": "192.168.1.1",
      "port": "8080",
      "protocol": "http"
    }
  • Response: Added proxy details

Delete Proxy

  • URL: /proxies
  • Method: DELETE
  • Body:
    {
      "ip": "192.168.1.1",
      "port": "8080",
      "protocol": "http"
    }
  • Response: Success message

Get All Sites

  • URL: /sites
  • Method: GET
  • Response: List of all proxy source sites

Add New Site

  • URL: /sites
  • Method: POST
  • Body:
    {
      "url": "https://example.com/proxies"
    }
  • Response: Added site URL

Delete Site

  • URL: /sites
  • Method: DELETE
  • Body:
    {
      "url": "https://example.com/proxies"
    }
  • Response: Success message

Response Format

All endpoints return JSON responses in the following format:

{
  "success": true|false,
  "data": <response_data>,
  "error": "error message if any"
}

About

A Go program that automatically parses and checks proxy servers from various sources.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published