Go to file
Em 574792b8f2 make all timestamps UTC 2021-07-08 09:47:14 -04:00
scripts add debug log for results and add new proxy types 2021-07-04 18:54:46 -04:00
.gitignore add dronebl ticket checker 2021-07-04 18:39:59 -04:00
LICENSE.txt initial push 2021-06-06 19:50:15 -04:00
README.md add todo list to readme 2021-06-26 09:08:38 -04:00
config.example.yaml add scripts and fix config 2021-06-23 14:44:52 -04:00
openproxyherder.py make all timestamps UTC 2021-07-08 09:47:14 -04:00
requirements.txt initial push 2021-06-06 19:50:15 -04:00

README.md

openproxyherder

A Python webapp that "herds" a list of open proxies, with an API for external programs to add and update entries.

scripts/ contains some example scripts that might be useful.

There's a todo list for issue and feature tracking.

Setup openproxyherder

This is tested with Python 3.8 and 3.9, but should work with Python 3.5 and above.

You'll need a postgresql database available via TCP, with the following table:

create table proxies (
    id serial primary key,
    ip inet,
    port int,
    exit_ip inet,
    exit_ipv6 inet,
    proxy_type text,
    status text default 'unscanned',
    last_seen timestamp default 'epoch',
    last_checked timestamp default 'epoch',
    submitted_at timestamp,
    comment text,
    num_failures int default 0,
    recheck bool default false
);

Copy config.example.yaml to config.yaml, edit config.yaml as needed.

Install the packages in requirements.txt (probably a good idea to create a venv).

Run python openproxyherder.py

Scripts

See README in scripts/ for information about the scripts