Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c0d41c9

Browse filesBrowse files
committed
[update] 🐔 2.4.2
1 parent 463bc74 commit c0d41c9
Copy full SHA for c0d41c9

File tree

Expand file treeCollapse file tree

3 files changed

+21
-26
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+21
-26
lines changed
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -205,19 +205,19 @@ PROXY_FETCHER = [
205205

206206
目前实现的采集免费代理网站有(排名不分先后, 下面仅是对其发布的免费代理情况, 付费代理测评可以参考[这里](https://zhuanlan.zhihu.com/p/33576641)):
207207

208-
| 代理名称 | 状态 | 更新速度 | 可用率 | 地址 | 代码 |
209-
| --------- | ---- | -------- | ------ | ----- |------------------------------------------------|
210-
| 站大爷 ||| ** | [地址](https://www.zdaye.com/) | [`freeProxy01`](/fetcher/proxyFetcher.py#L28) |
211-
| 66代理 ||| * | [地址](http://www.66ip.cn/) | [`freeProxy02`](/fetcher/proxyFetcher.py#L50) |
212-
| 开心代理 ||| * | [地址](http://www.kxdaili.com/) | [`freeProxy03`](/fetcher/proxyFetcher.py#L63) |
208+
| 代理名称 | 状态 | 更新速度 | 可用率 | 地址 | 代码 |
209+
|---------------| ---- | -------- | ------ | ----- |------------------------------------------------|
210+
| 站大爷 ||| ** | [地址](https://www.zdaye.com/) | [`freeProxy01`](/fetcher/proxyFetcher.py#L28) |
211+
| 66代理 ||| * | [地址](http://www.66ip.cn/) | [`freeProxy02`](/fetcher/proxyFetcher.py#L50) |
212+
| 开心代理 ||| * | [地址](http://www.kxdaili.com/) | [`freeProxy03`](/fetcher/proxyFetcher.py#L63) |
213213
| FreeProxyList ||| * | [地址](https://www.freeproxylists.net/zh/) | [`freeProxy04`](/fetcher/proxyFetcher.py#L74) |
214-
| 快代理 ||| * | [地址](https://www.kuaidaili.com/) | [`freeProxy05`](/fetcher/proxyFetcher.py#L92) |
215-
| FateZero || ★★ | * | [地址](http://proxylist.fatezero.org) | [`freeProxy06`](/fetcher/proxyFetcher.py#L111) |
216-
| 云代理 ||| * | [地址](http://www.ip3366.net/) | [`freeProxy07`](/fetcher/proxyFetcher.py#L124) |
217-
| 小幻代理 || ★★ | * | [地址](https://ip.ihuan.me/) | [`freeProxy08`](/fetcher/proxyFetcher.py#L134) |
218-
| 免费代理库 ||| * | [地址](http://ip.jiangxianli.com/) | [`freeProxy09`](/fetcher/proxyFetcher.py#L144) |
219-
| 89代理 ||| * | [地址](https://www.89ip.cn/) | [`freeProxy10`](/fetcher/proxyFetcher.py#L155) |
220-
| 稻壳代理 || ★★ | *** | [地址](https://www.docip.ne) | [`freeProxy11`](/fetcher/proxyFetcher.py#L165) |
214+
| 快代理 ||| * | [地址](https://www.kuaidaili.com/) | [`freeProxy05`](/fetcher/proxyFetcher.py#L92) |
215+
| 冰凌代理 || ★★ | * | [地址](https://www.binglx.cn/) | [`freeProxy06`](/fetcher/proxyFetcher.py#L111) |
216+
| 云代理 ||| * | [地址](http://www.ip3366.net/) | [`freeProxy07`](/fetcher/proxyFetcher.py#L123) |
217+
| 小幻代理 || ★★ | * | [地址](https://ip.ihuan.me/) | [`freeProxy08`](/fetcher/proxyFetcher.py#L133) |
218+
| 免费代理库 ||| * | [地址](http://ip.jiangxianli.com/) | [`freeProxy09`](/fetcher/proxyFetcher.py#L143) |
219+
| 89代理 ||| * | [地址](https://www.89ip.cn/) | [`freeProxy10`](/fetcher/proxyFetcher.py#L154) |
220+
| 稻壳代理 || ★★ | *** | [地址](https://www.docip.ne) | [`freeProxy11`](/fetcher/proxyFetcher.py#L164) |
221221

222222

223223
如果还有其他好的免费代理网站, 可以在提交在[issues](https://github.com/jhao104/proxy_pool/issues/71), 下次更新时会考虑在项目中支持。
Collapse file

‎docs/changelog.rst‎

Copy file name to clipboardExpand all lines: docs/changelog.rst
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
ChangeLog
44
==========
55

6-
develop
6+
2.4.2 (2024-01-18)
77
------------------
88

99
1. 代理格式检查支持需认证的代理格式 `username:password@ip:port` ; (2023-03-10)
1010
2. 新增代理源 **稻壳代理**; (2023-05-15)
11+
3. 新增代理源 **冰凌代理**; (2023-01-18)
1112

1213
2.4.1 (2022-07-17)
1314
------------------
Collapse file

‎fetcher/proxyFetcher.py‎

Copy file name to clipboardExpand all lines: fetcher/proxyFetcher.py
+7-13Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,13 @@ def freeProxy05(page_count=1):
109109

110110
@staticmethod
111111
def freeProxy06():
112-
""" FateZero http://proxylist.fatezero.org/ """
113-
url = "http://proxylist.fatezero.org/proxy.list"
112+
""" 冰凌代理 https://www.binglx.cn """
113+
url = "https://www.binglx.cn/?page=1"
114114
try:
115-
resp_text = WebRequest().get(url).text
116-
for each in resp_text.split("\n"):
117-
json_info = json.loads(each)
118-
if json_info.get("country") == "CN":
119-
yield "%s:%s" % (json_info.get("host", ""), json_info.get("port", ""))
115+
tree = WebRequest().get(url).tree
116+
proxy_list = tree.xpath('.//table//tr')
117+
for tr in proxy_list[1:]:
118+
yield ':'.join(tr.xpath('./td/text()')[0:2])
120119
except Exception as e:
121120
print(e)
122121

@@ -236,12 +235,7 @@ def freeProxy11():
236235

237236
if __name__ == '__main__':
238237
p = ProxyFetcher()
239-
for _ in p.freeProxy11():
238+
for _ in p.freeProxy06():
240239
print(_)
241240

242241
# http://nntime.com/proxy-list-01.htm
243-
244-
245-
# freeProxy04
246-
# freeProxy07
247-
# freeProxy08

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.