#刷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
- hostflyte 目前 CN2 GIA 线路的 VPS 套餐全球[VPS测评]
- OneVPS - 首月 5 折优惠码 新加坡日本等 8 机房最低月付$4日本VPS[主机]
- 新闻 Vultr 推出 Object Storage 系列 VPS 就是全球[VPS测评]
- 8 折活动 880 月付 E3-1240 16G 内存 480G SSD日本VPS[主机]
- 腾讯云→“2019 年 12 月”云服务器秒杀活动 最新腾讯云优惠信息 香港VPS[主机]
- PacificRack→$12.49 年 KVM-768MB 20GB 全球[VPS测评]
- ZJI→独立服务器 6 折起 香港 CN2 日本 CN2 韩国 CN2 独立服务器[U]
- VpsLot→美国 KVM VPS 首月 1 折 包括 IP 等;适合紧美国VPS[主机]
- Pump Cloud→$42.49 月 1GB 内存 20GB NVMe虚拟空间(主机)
- 促销 ZJI→香港邦联服务器 8 折优惠 山河城高防服务器 8 折优惠 独立服务器[U]
- 稳定 Hawkhost(老鹰主机)→新增洛杉矶机房 1 核 1G 20G全球[VPS测评]
- WordPress 常用的自定义文字广告、图片广告代码全球[VPS测评]
- 怎么才能保证WordPress网站搜索引擎SEO优化长期霸榜全球[VPS测评]
- 使用测速脚本对国外VPS服务器进行测速全球[VPS测评]
- WordPress博客的百度快照怎么快速更新?全球[VPS测评]
- OneVPS KVM VPS终身 75 折优惠码 日本VPS最低月付3.日本VPS[主机]
- 5个新手站长都会遇到的的博客运营问题全球[VPS测评]
- Bytes UA 乌克兰VPS测评 1$1Gbps不限流量全球[VPS测评]
- 麻花云怎么样?安徽移动vps月付29元/香港vps月付21元香港VPS[主机]
- 什么是linux面板?常见的Linux控制面板有哪些?全球[VPS测评]
- CMCUCT:2核2GB/20GB香港ntt线路vps 6TB流量/1G香港VPS[主机]
- 悦智网络:香港cn2 VPS阿里云线路,四川德阳高防vps,大连高防vp香港VPS[主机]
- 桔子数据怎么样?美国、香港CN2云服务器2核2G10M带宽仅480元/年美国VPS[主机]
- 数字化东风已来,亚马逊云科技跨境电商合作企业招募大会即将开启全球[VPS测评]
- 文物、沉船、村落!干旱导致大量遗迹重见天日 2022年干旱还要持续多久?全球[VPS测评]
- centos7如何查看firewall防火墙状态:开启/关闭/重启防火墙全球[VPS测评]
- 2021硅云新年献礼活动:香港企业级云服务器2核4G5M仅2888元/5香港VPS[主机]
- 弘速科技:香港安畅CN2 GIA/弹性云服务器10元/月,2核1GB/2香港VPS[主机]
- hostkvm怎么样?香港云vps 带宽30M 月付6美元香港VPS[主机]
- 企鹅小屋怎么样?深港IPLC专线销售 500M大带宽/2核1G内存/55全球[VPS测评]
转载请注明原文地址:http://140.238.13.167:12355/read-21118.html











