{"id":18705211,"url":"https://github.com/safe6sec/proxyserver","last_synced_at":"2026-04-08T14:02:18.744Z","repository":{"id":37117679,"uuid":"281113536","full_name":"safe6Sec/proxyServer","owner":"safe6Sec","description":"本项目其实就是个简单的代理服务器，把代理池集成进来来了。","archived":false,"fork":false,"pushed_at":"2022-06-17T03:19:56.000Z","size":29,"stargazers_count":84,"open_issues_count":3,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T10:05:09.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/safe6Sec.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-20T12:43:40.000Z","updated_at":"2025-03-08T12:26:48.000Z","dependencies_parsed_at":"2022-07-14T03:40:41.281Z","dependency_job_id":null,"html_url":"https://github.com/safe6Sec/proxyServer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safe6Sec%2FproxyServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safe6Sec%2FproxyServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safe6Sec%2FproxyServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safe6Sec%2FproxyServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/safe6Sec","download_url":"https://codeload.github.com/safe6Sec/proxyServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550634,"owners_count":21122933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T12:10:02.817Z","updated_at":"2026-04-08T14:02:13.705Z","avatar_url":"https://github.com/safe6Sec.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ip代理池\n本项目其实就是个简单的代理服务器，经过我小小的修改。加了个代理池进来。\n渗透、爬虫的时候很容易就会把自己ip给ban了所以就需要ip代理池了。\n![ippool][1]\n## 使用\n\n1、启动ip代理池\n先把这个项目跑起来\nhttps://github.com/jhao104/proxy_pool  \n\n2、启动代理服务器\n\n默认监听8080  \njava -jar proxyServer.jar\n\n自定义监听端口  \njava -jar proxyServer.jar 9090\n\n3、设置代理    \n设置好代理后你就发现每次请求的ip都不一样。\n\n## 配置\n简单说一下proxy_pool需要做的一些配置。   \n1、如果有更好的代理网站，或者是你买了代理ip。可以在根目录的/fetcher/proxyFetcher.py里面自己写个方法去爬，该方法需要以生成器(yield)形式返回host:ip，然后在根目录\n的setting.py文件里面，把自己写方法名添加进去。   \n\n2、redis默认装好是没密码的，需要修改setting.py,改为DB_CONN='redis://@127.0.0.1:6379/0'一般全部默认即可    \n\n3、修改超时，把setting.py中的VERIFY_TIMEOUT改小点(3)。默认10秒，这种ip基本用不成。   \n\n4、已发布版的代理服务器，用的是proxy_pool默认端口。而且代理池需要和代理服务器跑在一起。如不在一台机器上可修改ProxyUtil类里面getProxy方法的url。  \n\n## 最后\n博客：http://www.safe6.cn/      \n公众号：safe6安全的成长日记            \n整合好的我已经打包放公众号，需要的自取(回复：ip代理池)    \n![safe6][2]\n\n## 感谢开源项目\nhttps://github.com/casparhuan/proxyServer             \nhttps://github.com/jhao104/proxy_pool\n\n\n  [1]: http://qiniu.safe6.cn/ipPool.jpg\n  [2]: http://qiniu.safe6.cn/qrcode.jpg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafe6sec%2Fproxyserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsafe6sec%2Fproxyserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafe6sec%2Fproxyserver/lists"}