Просмотр исходного кода

Merge branch 'master' of github.com:Python3WebSpider/ProxyPool

Germey 6 лет назад
Родитель
Сommit
d807b622cd
2 измененных файлов с 15 добавлено и 1 удалено
  1. 14 0
      README.md
  2. 1 1
      proxypool/crawlers/daili66.py

+ 14 - 0
README.md

@@ -1,6 +1,7 @@
 # ProxyPool
 
 ![build](https://github.com/Python3WebSpider/ProxyPool/workflows/build/badge.svg)
+![deploy](https://github.com/Python3WebSpider/ProxyPool/workflows/deploy/badge.svg)
 ![](https://img.shields.io/badge/python-3.6%2B-brightgreen)
 ![Docker Pulls](https://img.shields.io/docker/pulls/germey/proxypool)
 
@@ -13,6 +14,12 @@
 
 代理池原理解析可见「[如何搭建一个高效的代理池](https://cuiqingcai.com/7048.html)」,建议使用之前阅读。
 
+## 运行示例
+
+API Server 可以见[部署样例](https://universal.proxypool.cuiqingcai.com/),随机代理[取用地址](https://universal.proxypool.cuiqingcai.com/random),代理源比较少,仅供演示。
+
+本样例为 GitHub Actions + Kubernetes 自动部署 master 分支代码结果。
+
 ## 使用要求
 
 可以通过两种方式来运行代理池,一种方式是使用 Docker(推荐),另一种方式是常规方式运行。
@@ -312,6 +319,13 @@ class Daili66Crawler(BaseCrawler):
 cat deployment.yml | sed 's/\${TAG}/latest/g' | kubectl apply -f -
 ```
 
+## 待开发
+
+- [ ] 前端页面管理
+- [ ] 使用情况统计分析
+
+如有一起开发的兴趣可以在 Issue 留言,非常感谢!
+
 ## LICENSE
 
 MIT

+ 1 - 1
proxypool/crawlers/daili66.py

@@ -3,7 +3,7 @@ from proxypool.schemas.proxy import Proxy
 from proxypool.crawlers.base import BaseCrawler
 
 
-BASE_URL = 'http://www.664ip.cn/{page}.html'
+BASE_URL = 'http://www.66ip.cn/{page}.html'
 MAX_PAGE = 5