PT-download
  • 说明
  • PT站点篇
  • 设备篇
    • 本地设备
    • 常见独服/盒子
  • 解决方案
    • PT站刷流方案
    • 自动组建影视中心
  • 下载工具
    • Aria2
    • Qbittorrent
    • Transmission
  • 辅助工具
    • Autoremove-torrents
    • IOTOP查询IO情况
    • RSS常用正则表达式
    • Flexget
    • RSS常用正则表达式
    • Vnstat流量统计
    • mktorrent
    • Autoremove-torrents删种策略
由 GitBook 提供支持
在本页
  • 自用删种策略
  • 备用删种策略
  • 黑车
  • 慢车
  • 低速种策略1
  • 低速种策略2
  • 超时下载
  • HR 删种
  • 限制最大下载数
  • 其他策略

这有帮助吗?

在GitHub上编辑
  1. 辅助工具

Autoremove-torrents删种策略

上一页mktorrent

最后更新于2年前

这有帮助吗?

Autoremove torrents 官方文档:

自用删种策略

my_task:
# Part 2: BT客户端登录信息,可以管理其他机的客户端
  client: qbittorrent
  host: http://127.0.0.1:8071
  username: admin
  password: adminadmin
# Part 3: 策略块(删除种子的条件)
  strategies:
    # Part I: 策略名称
    remove_low_disk:
      # Part II: 筛选过滤器,过滤器定义了删除条件应用的范围,多个过滤器是且的关系,顺序执行过滤
      excluded_status: Downloading
      excluded_categories: 1.pt-down
      excluded_trackers: tracker.totheglory.im
      # Part III: 删除条件,多个删除条件之间是或的关系,顺序应用删除条件
      free_space:
        min: 300
        path: /home/qbt-pter/downloads
        action: remove-slow-upload-seeds
    remove_low_download:
      status: Downloading
      excluded_categories: 1.pt-down
      remove: last_activity > 900 or download_speed < 50 or create_time > 1800 and connected_leecher < 1 and average_uploadspeed < 10
    remove_low_upload:
      status: uploading
      excluded_categories: 1.pt-down
      remove: upload_speed < 2 or connected_leecher < 1
      #delete_data: true
    # 一个任务块可以包括多个策略块...
# Part 4: 是否在删除种子的同时也删除数据。如果此字段未指定,则默认值为false
  delete_data: true

备用删种策略

黑车

删除下载速度远超上传的种子

下载
上传

80

65

60

45

40

25

20

15

clean_by_speed:
      status: Downloading
      excluded_categories:
        - MySaved
      remove: download_speed > 40000 and upload_speed < 25000

HR种子:ex. 如下载大于50%触发HR,可额外附加progress < 50

慢车

  • 2小时内慢速上传

remove: create_time > 7200 and (average_uploadspeed < 500 or ratio < 1)

低速种策略1

clean_Seeding_S1:
      status:
        - Uploading
      excluded_categories:
        - MySaved
      remove: (leecher < 3 and upload_speed < 50) or (average_uploadspeed < 400)

低速种策略2

clean_Seeding_S2:
      status:
        - Uploading
      excluded_categories:
        - MySaved
      remove: upload_speed < 2 or connected_leecher < 1

超时下载

  • 24小时内未完成删除

24hr_free_countdown_strategy:
      excluded_categories:
        - MySaved
      remove: progress < 100 and create_time > 86400

HR 删种

  • 做种超过140h后删除(可根据不同站点自己设置时间)

remove: seeding_time > 504000 and average_uploadspeed < 400

限制最大下载数

limit_max_torrents:
      status:
        - downloading
      excluded_categories:
        - MySaved
      maximum_number: 
        limit: 16
        action: remove-inactive-seeds

其他策略

  • 限制最大上传量(针对某些非VIP 100%黑种站):upload_ratio: 3

  • 根据做种人数/下载人数:

delete_by_peernumber:
      status:
        - Downloading
      excluded_categories:
        - MySaved
      remove: seeder > 3 or connected_leecher < 2

样本

delete_task:
  client: qbittorrent
  host: http://51.159.35.144:8080
  username: admin
  password: admin123456
  strategies: 
    24hr_free_countdown_strategy:
      excluded_categories:
        - MySaved
      remove: progress < 100 and create_time > 86400 # not finished after 24 hours
    clean_by_upload_ratio_strategy:
      categories:
        - XXX
      upload_ratio: 3
    clean_slow_uploading_S1: 
      status: 
        - Downloading
      excluded_categories:
        - MySaved
      remove: create_time > 7200 and (average_uploadspeed < 300 or ratio < 1) # 2 hours
    clean_slow_uploading_S2:
      status:
        - Downloading
      excluded_categories:
        - MySaved
      remove: seeder > 3 or connected_leecher < 2
    clean_Seeding_S1:
      status:
        - Uploading
      excluded_categories:
        - MySaved
      remove: (leecher < 3 and upload_speed < 50) or (average_uploadspeed < 400)
    clean_Seeding_S2:
      status:
        - Uploading
      excluded_categories:
        - MySaved
      remove: upload_speed < 2 or connected_leecher < 1   
    clean_by_speed_S1:
      status: Downloading
      excluded_categories:
        - MySaved
      remove: download_speed > 40000 and upload_speed < 25000 
    clean_by_speed_S2:
      status: Downloading
      excluded_categories:
        - MySaved
      remove: download_speed > 20000 and upload_speed < 15000 
    clean_by_speed_S3:
      status: Downloading
      excluded_categories:
        - MySaved
      remove: download_speed > 60000 and upload_speed < 45000 
    clean_HR_XXX_strategy:
      categories:
        - XXX
      status:
        - Uploading
      remove: seeding_time > 504000 and average_uploadspeed < 400 
    limit_max_torrents:
      status:
        - downloading
      excluded_categories:
        - MySaved
      maximum_number: 
        limit: 16
        action: remove-inactive-seeds
  delete_data: true

文章到这里就结束了,就像开头所说这只是提供一种刷流的思路。有兴趣的PT友也可以了解下Vertex,可以集中管理RSS跟删种,免除了Flexget跟Auto-remove torrents 至于R种,如果不想写config.yml也可以多开pt助手来实现同样的功能。

最后善意提醒各位PT友,请注意各站HR要求跟对seedbox的单独要求,以免被ban。

配置 - autoremove-torrents 1.5.3 文档