搭建 Proxypool 抓取免费节点网站
搭建 Proxypool 抓取免费节点网站
status
Published
date
Apr 17, 2021
slug
proxypool
summary
节点网站搭建
category
技术分享
tags
节点

效果演示

演示地址:https://ditan.ml

项目地址

部署安装

  • 下载最新版项目到服务器
    • 打开 https://github.com/xiaofei-ya/proxypool/releases 选择合适的版本wget或宝塔远程下载到服务器。
      wget 
      下载或新建config.yaml
      # 文件地址 https://raw.githubusercontent.com/xiaofei-ya/proxypool/master/config/config.yaml
      # your domain
      domain: example.com #👈修改为你自己的域名
      port:                 # 默认端口 12580
      
      # source list file
      source-files:
        # use local file
        - ./source.yaml
        # use web file
        # - https://example.com/config/source.yaml
      
      # ======= 可选项,留空使用default=======
      
      # postgresql database info
      database_url: ""
      
      # interval between each crawling
      crawl-interval:       # v0.5.x default 60 (minutes)
      crontime:             # v0.4.x default 60 (minutes). Deprecated in the newest version
      
      # speed test
      speedtest: false      # default false. Warning: this will consume large network resources.
      speedtest-interval:   # default 720 (min)
      connection:           # default 5. The number of speed test connections simultaneously
      timeout:              # default 10 (seconds).
      ## active proxy speed test
      active-interval:      # default 60 (min)
      active-frequency:     # default 100 (requests per interval)
      active-max-number:    # default 100. If more than this number of active proxies, the extra will be deprecated by speed
      
      # cloudflare api
      cf_email: ""
      cf_key: ""
      下载或新建source.yaml
      # 文件地址 https://raw.githubusercontent.com/xiaofei-ya/proxypool/master/config/source.yaml
      # 模糊抓取订阅链接
      - type: webfuzzsub
        options:
          url: https://raw.githubusercontent.com/du5/free/master/sub.list
      
      # 订阅链接
      - type: subscribe
        options:
          url: https://raw.githubusercontent.com/ssrsub/ssr/master/v2ray
      
      # 网页模糊抓取
      - type: webfuzz
        options:
          url: https://merlinblog.xyz/wiki/freess.html
      
      # tg频道抓取
      - type: tgchannel
        options:
          channel: ssrList
          num: 200
      
      # 翻墙党论坛抓取
      - type: web-fanqiangdang
        options:
          url: https://fanqiangdang.com/forum-48-1.html
      
      # clash格式订阅链接
      - type: clash
        options:
          url: https://raw.githubusercontent.com/du5/free/master/file/0909/Clash.yaml
      
      # 某个网站抓取
      - type: web-freessrxyz
        options:
  • 解压文件并改名proxypool

运行

启动程序
nohup ./proxypool -c config.yaml 1>>run.log 2>>run.log &
更新配置
在程序根目录运行
ps -ef
kill -s 9 PID  # 此处为./proxypool -c config.yaml 对应的 PID
nohup ./proxypool -c config.yaml 1>>run.log 2>>run.log &
 
  • 节点
  • books如何快速有效搜索电子书白嫖机场