jhao104/proxy_pool — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python proxy pool service for my web crawling projects. I want it to regularly collect free public proxy IPs from several proxy sites, test whether they actually work, save the good ones in Redis, and keep rechecking them so dead proxies get removed.

It should have a scheduler that runs the collecting and checking jobs, plus a small web API I can call from my spider code. I need endpoints to get one random proxy, get and remove one proxy, list all proxies, see the total count, delete a bad proxy, and optionally filter for HTTPS proxies. Also add a simple command line way to start the scheduler, start the API server, and show the enabled proxy sources.

Please make it easy to configure the host, port, Redis connection, and any proxy sources I want to disable. I’d also like Docker and docker compose support so I can run it without much setup. Look up current docs online if you need to.

Want more depth? Deep Reverse