#刷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
- input 标签 type 为 number 时允许输入小数的方法全球[VPS测评]
- 很多个光字和色字在一起是什么成语?全球[VPS测评]
- 推荐 MOACK→原价$159 现价$39.75 双路 E5-2620 韩国VPS[主机]
- Kdatacenter→韩国 KVM-1GB 100GB SSD 500韩国VPS[主机]
- raksmart→美国不限流量服务器(物理机) 100M 带宽~$61 美国VPS[主机]
- RAKsmart→“7 月放价 惠享一夏” 五重惊喜 L5630 G 口全球[VPS测评]
- 搬瓦工 香港 pccw 机器 39.99 刀的已经下架 目前 79.99香港VPS[主机]
- 标准互联高性能襄阳裸金属服务器特惠,8 核 16G 仅 240 元 月,全球[VPS测评]
- VirMach→便宜美国 VPS 补货 洛杉矶 西雅图节点可选 35 元美国VPS[主机]
- 疯狂猜成语 图猜成语三个人每个人拿着虎的一部分是什么成语?全球[VPS测评]
- 特价 $69 月 E3-1230v2 16G 内存 2T 硬盘 10T美国VPS[主机]
- Linode正式更换至新的云管理面板全球[VPS测评]
- Contabo德国老牌商家新上新加坡数据中心,前1000名用户免设置费;美国VPS[主机]
- 华纳云 香港CN2GIA线路 1G内存50G硬盘2M小带宽半年付280元香港VPS[主机]
- 阳帝云 美国CN2 GIA高防 VPS 1g内存40G硬盘外带200G防美国VPS[主机]
- SafeNote 阅后即焚笔记分享服务全球[VPS测评]
- WordPress网站运营必备的浏览器插件5118站长工具箱全球[VPS测评]
- CWVPS(cheapwindowsvps)美国高配 windows vWINDOWS
- 1分钟快速读懂云计算全球[VPS测评]
- 桔子数据怎么样?便宜香港安畅CN2 VPS1核1G10M 28/月香港VPS[主机]
- 晚点独家丨拼多多9月上线跨境电商平台,首站美国美国VPS[主机]
- 众创逸云:国庆中秋节大促销优惠,不限流量香港CN2线路VPS 5.9元/香港VPS[主机]
- 六一云:香港CMI VPS,10G防御,1核/1G/40G SSD/15香港VPS[主机]
- wikihost微基主机服务,香港稳定虚拟主机8折,3.73元/月起,C香港VPS[主机]
- 兼容移动和PC的loading加载和toast消息插件全球[VPS测评]
- 30个美容院抖音唯美文案,看到就直接拿去发吧全球[VPS测评]
- 亿速云香港服务器助力企业出海 有哪些具体的特点和优势?香港VPS[主机]
- 港口雄开万里流丨不出国门海淘全球青岛跨境电商未来可期全球[VPS测评]
- 热网互联:日本+香港 cn2 gia vps7折,日本服务器7.5折,全日本VPS[主机]
- 买了一台云服务器到底能干什么?全球[VPS测评]
转载请注明原文地址:http://140.238.13.167:12355/read-27611.html











