{"id":22691990,"url":"https://github.com/python3webspider/adslproxy","last_synced_at":"2025-04-04T17:11:00.583Z","repository":{"id":37850454,"uuid":"97223192","full_name":"Python3WebSpider/AdslProxy","owner":"Python3WebSpider","description":"Adsl Proxy Pool","archived":false,"fork":false,"pushed_at":"2023-03-31T14:32:39.000Z","size":52,"stargazers_count":236,"open_issues_count":13,"forks_count":129,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T16:11:45.996Z","etag":null,"topics":["adsl","redis"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Python3WebSpider.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-14T10:38:28.000Z","updated_at":"2025-01-24T18:32:40.000Z","dependencies_parsed_at":"2024-12-24T03:08:07.561Z","dependency_job_id":"542b7996-5116-4d31-a19a-fd3c6b963dd8","html_url":"https://github.com/Python3WebSpider/AdslProxy","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":"0.13043478260869568","last_synced_commit":"4d1a242d58ee9d8acdbeca9b48e7390ca7243409"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python3WebSpider%2FAdslProxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python3WebSpider%2FAdslProxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python3WebSpider%2FAdslProxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python3WebSpider%2FAdslProxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Python3WebSpider","download_url":"https://codeload.github.com/Python3WebSpider/AdslProxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217222,"owners_count":20903009,"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":["adsl","redis"],"created_at":"2024-12-10T01:13:14.249Z","updated_at":"2025-04-04T17:11:00.550Z","avatar_url":"https://github.com/Python3WebSpider.png","language":"Python","readme":"## 拨号主机设置\n\n首先配置好代理，如使用 Squid，运行在 3128 端口，并设置好用户名和密码。\n\n配置好代理之后，即可使用本工具定时拨号并发送至 Redis。\n\n### 安装 ADSLProxy\n\n```\npip3 install -U adslproxy\n```\n\n### 设置环境变量\n\n```\n# Redis 数据库地址、端口和密码\nexport REDIS_HOST=\nexport REDIS_PORT=\nexport REDIS_PASSWORD=\n# 拨号云主机配置的代理端口\nexport PROXY_PORT=\n# 拨号云主机的代理用户名，无认证则留空\nexport PROXY_USERNAME=\n# 拨号云主机配置的代理密码，无认证则留空\nexport PROXY_PASSWORD=\n```\n\n### 执行\n\n```\nadslproxy send\n```\n\n运行结果：\n\n运行结果：\n\n```\n2020-04-13 01:39:30.811 | INFO     | adslproxy.sender.sender:loop:90 - Starting dial...\n2020-04-13 01:39:30.812 | INFO     | adslproxy.sender.sender:run:99 - Dial Started, Remove Proxy\n2020-04-13 01:39:30.812 | INFO     | adslproxy.sender.sender:remove_proxy:62 - Removing adsl1...\n2020-04-13 01:39:30.893 | INFO     | adslproxy.sender.sender:remove_proxy:69 - Removed adsl1 successfully\n2020-04-13 01:39:37.034 | INFO     | adslproxy.sender.sender:run:108 - Get New IP 113.128.9.239\n2020-04-13 01:39:42.221 | INFO     | adslproxy.sender.sender:run:117 - Valid proxy 113.128.9.239:3389\n2020-04-13 01:39:42.458 | INFO     | adslproxy.sender.sender:set_proxy:82 - Successfully Set Proxy\n2020-04-13 01:43:02.560 | INFO     | adslproxy.sender.sender:loop:90 - Starting dial...\n2020-04-13 01:43:02.561 | INFO     | adslproxy.sender.sender:run:99 - Dial Started, Remove Proxy\n2020-04-13 01:43:02.561 | INFO     | adslproxy.sender.sender:remove_proxy:62 - Removing adsl1...\n2020-04-13 01:43:02.630 | INFO     | adslproxy.sender.sender:remove_proxy:69 - Removed adsl1 successfully\n2020-04-13 01:43:08.770 | INFO     | adslproxy.sender.sender:run:108 - Get New IP 113.128.31.230\n2020-04-13 01:43:13.955 | INFO     | adslproxy.sender.sender:run:117 - Valid proxy 113.128.31.230:3389\n2020-04-13 01:43:14.037 | INFO     | adslproxy.sender.sender:set_proxy:82 - Successfully Set Proxy\n2020-04-13 01:46:34.216 | INFO     | adslproxy.sender.sender:loop:90 - Starting dial...\n2020-04-13 01:46:34.217 | INFO     | adslproxy.sender.sender:run:99 - Dial Started, Remove Proxy\n2020-04-13 01:46:34.217 | INFO     | adslproxy.sender.sender:remove_proxy:62 - Removing adsl1...\n2020-04-13 01:46:34.298 | INFO     | adslproxy.sender.sender:remove_proxy:69 - Removed adsl1 successfully\n```\n\n此时有效代理就会发送到 Redis。\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython3webspider%2Fadslproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython3webspider%2Fadslproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython3webspider%2Fadslproxy/lists"}