#刷PT#自动下载PT站的最新FREE种
![]() | ![]() | ![]() | ![]() |
| 【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
| 【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |

自己有一个大盘机用来刷PT,但不是自动的都是手动来刷,今天在LALA大佬上面看到一个教程,使用VPS自动下载FREE种,来保号或是过新手期,下面分享给大家。
作者地址
https://github.com/cshenxi/ptscripts| 1 | https://github.com/cshenxi/ptscripts |
安装过程
系统以Debian9为例,安装pip3/依赖
apt -y install git python3-pippip3 install bs4 requests lxml| 12 | apt -y install git python3-pippip3 install bs4 requests lxml |
拉取文件:
mkdir -p /opt/freetorrent/torrent && cd /opt/freetorrentgit clone https://github.com/cshenxi/ptscripts.gitcd ptscripts| 123 | mkdir -p /opt/freetorrent/torrent && cd /opt/freetorrentgit clone https://github.com/cshenxi/ptscripts.gitcd ptscripts |
给执行权限:
chmod +x download_free_PTtorrents_v3_debug.py| 1 | chmod +x download_free_PTtorrents_v3_debug.py |
编辑:
nano download_free_PTtorrents_v3_debug.py| 1 | nano download_free_PTtorrents_v3_debug.py |
在这个文件最上方加入一行:
#!/usr/bin/python3| 1 | #!/usr/bin/python3 |
然后要改动的地方,这里我以M-TEAM为例:
site_name = "M-TEAM"site_url = "https://tp.m-team.cc/torrents.php"site_cookie = "c_lang; tp=你的cookies" # 注意M-Team的cookies前面必须要有c_lang,否则无法登录成功url_half = "https://tp.m-team.cc/"monitor_path = r'/opt/freetorrent/torrent/'user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36'erer = 'https://tp.m-team.cc/login.php'host = 'tp.m-team.cc'| 12345678 | site_name = "M-TEAM"site_url = "https://tp.m-team.cc/torrents.php"site_cookie = "c_lang; tp=你的cookies" # 注意M-Team的cookies前面必须要有c_lang,否则无法登录成功url_half = "https://tp.m-team.cc/"monitor_path = r'/opt/freetorrent/torrent/'user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36'erer = 'https://tp.m-team.cc/login.php'host = 'tp.m-team.cc' |
cookie/useragent如何获取?打开Chrome,登录你的M-Team账号,然后按F12:
添加计划任务:
crontab -e| 1 | crontab -e |
每两个小时执行一次:
0 */2 * * * /usr/bin/python3 /opt/freetorrent/ptscripts/download_free_PTtorrents_v3_debug.py| 1 | 0 */2 * * * /usr/bin/python3 /opt/freetorrent/ptscripts/download_free_PTtorrents_v3_debug.py |
为验证是否可以正常下载,这里我们最好先自己手动运行一遍:
./download_free_PTtorrents_v3_debug.py| 1 | ./download_free_PTtorrents_v3_debug.py |
如果正常,你将看到类似这样的回显:
然后在qBittorrent上设置监控文件夹:
然后我可以看到QB在正常下载了:
并且下载的全部都是FREE种:
nexusphp的PT站都可以使用,此教程为转载,不接受反馈提问,因为我也不会,可以到作者的github提问。
[资源]历史优惠活动内容
猜你可能想看的VPS
- 阿里云·云小站采购季促销,国内 香港云服务器 1 核 2G74 元 年起香港VPS[主机]
- 限量抢 iON→1 核 2GB 40GB SSD 1TB 洛杉矶套餐年付全球[VPS测评]
- tp5 怎么使用 find_in_set thinkphp5 中 fin全球[VPS测评]
- SaltyfishTech→$13.9 季 1GB 内存 10GB SS虚拟空间(主机)
- Hetzner - 庆祝 Falkenstein 机房成立 10 周年 全球[VPS测评]
- Windows Server 2012 R2 解除文件下载限制WINDOWS
- 真实测评 六六云→洛杉矶三网双程 GIA1 核 1G 15G SSD 1全球[VPS测评]
- ioncloud→8 折优惠 圣何塞 cn2 云服务器 带 WindowWINDOWS
- STL vector 容器介绍全球[VPS测评]
- 用ImgURL免费图床程序自建WordPress图床全球[VPS测评]
- 如何在begin主题实现评论自动排第一全球[VPS测评]
- RAKsmart机房8月促销,便宜独立服务器最低月付30美元,爆款VPS独立服务器[U]
- Sharktech洛杉矶高防服务器,E5双核/1TB NVMe/不限流量全球[VPS测评]
- DediPath全场便宜VPS四折促销,月付1.4美元起;洛杉矶便宜服务全球[VPS测评]
- DeHost → 1.8$ 月 土耳其 2C2G30G硬盘 DDOS保护全球[VPS测评]
- 数据中心助力光纤光缆行业发展全球[VPS测评]
- 世界杯季疫情突发,跨境电商订单排队,义乌商人面临难题全球[VPS测评]
- Centos7的firewall 防火墙如何设置端口转发?全球[VPS测评]
- 邢志宏:加快推动高质量建设跨境电商综试区起势成势全球[VPS测评]
- earidc怎么样?香港三网cn2vps带宽1M月付29元香港VPS[主机]
- edgeNAT:2021元旦vps促销_全场韩国/美国/香港VPS低至7韩国VPS[主机]
- 拼多多正筹建跨境电商平台:密集挖角SHEIN员工,零佣金招商入驻全球[VPS测评]
- 轻云互联,香港美国vps终身8.8折17元/月起,cn2直连线路,50G美国VPS[主机]
- 香港云服务器的优势有哪些方面香港VPS[主机]
- 翔云网络怎么样?香港云服务器优惠99/月,国内4核4G高防服务器6800香港VPS[主机]
- 向日葵-漏洞科普:海外云服务器三种漏洞修复方法快收藏起来!全球[VPS测评]
- 桔子数据:1核1GB香港CN2 GIA vps促销28元/月,最高30M香港VPS[主机]
- uuuvps:香港大带宽vps低至239元/年;香港服务器720元/e3香港VPS[主机]
- 欧路云:香港vps上新8折优惠 – 加拿大/新加坡/法国vps 6折优惠香港VPS[主机]
- RAKsmart:E3服务器秒杀$30/月起,韩国服务器,香港/日本/美站群服务器[IP]
转载请注明原文地址:http://140.238.13.167:12355/read-24367.html











