#刷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
- 便宜 RAKsmart→“抄底价 购实惠” 爆款 G 口 不限低至 19全球[VPS测评]
- PuzCloud→38 元 月 1GB 内存 10GB 空间 500GB虚拟空间(主机)
- 偏贵-GeorgeDatacenter→$7 月 32GB 内存 60G虚拟空间(主机)
- MoeCloud→129 元 月 2GB 内存 1TB 硬盘 不限流量 全球[VPS测评]
- OneVPS→日本东京完全可看美区 Netflix 耐飞视频 VPS N日本VPS[主机]
- 如何关闭(注销)QQ 空间?虚拟空间(主机)
- 疯狂猜成语 图猜成语一个人拿本书看着对面的山水是什么成语?全球[VPS测评]
- thinkphp5 获取用户 ip tp5 获取客户端 ip全球[VPS测评]
- 靠谱商家 flipperhost→$99 年 洛杉矶高配 VPS KV全球[VPS测评]
- 鸟石鸟是什么成语?全球[VPS测评]
- PHP 判断 IP 是否在指定 IP 段内的类全球[VPS测评]
- CCleaner Pro 最新版 免注册码 绿色破解全球[VPS测评]
- MoeCloud → 双十一299¥年付 美国圣何塞 CN2 GIA 美国VPS[主机]
- DMIT.io → 2G 内存 20G SSD 无限流量 200M带宽 全球[VPS测评]
- 云服务器和云服务器租用,云服务器做什么??全球[VPS测评]
- 2022年最新的15个美容院抖音文案,美容院文案怎么写全球[VPS测评]
- 酷锐云元旦促销活动:香港CN2/美国CN2高防vps月付20元起/美国原美国VPS[主机]
- CubeCloud,香港cn2,美国cn2 gia线路vps主机,2核1美国VPS[主机]
- HostKvm,香港云地VPS,全场八折,三网直连,电信CN2,2核4G香港VPS[主机]
- 56云服务器怎么样?56云服务器价格和优势是什么?全球[VPS测评]
- 六六云:1核/1GB/20GB硬盘/500GB流量/30Mbps/KVM香港VPS[主机]
- 恒创主机优惠码85折_服务器优惠券8折_恒创科技优惠_代金券全球[VPS测评]
- 快云科技:2核2G3M云服务器14.98元/月;香港vps全场7.5折,香港VPS[主机]
- 1分钟快速读懂云计算全球[VPS测评]
- 为什么阿里云、腾讯云卖服务器可以挣到钱?全球[VPS测评]
- ucloud香港服务器怎么样?听听这些网友们怎么说的香港VPS[主机]
- 初忆云: 滁州电信、湖北电信云服务器价格低至10元起,续费同价全球[VPS测评]
- HostKvm:1核/4G/30G硬盘/750G/20Mbps/香港kv香港VPS[主机]
- 邢志宏:加快推动高质量建设跨境电商综试区起势成势全球[VPS测评]
- 酷锐云:元旦钜惠_美国CN2VPS低至20元/月_1核2G香港云主机低至美国VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-30850.html











