从pip安装

pip install autoremove-torrents

autoremove-torrents 会在当前工作目录中寻找 config.yml 文件

config.yml试例

# A task block
my_task:          # Part 1: Task Name
  # Part 2: Login Information
  client: qbittorrent
  host: http://127.0.0.1:8080
  username: xxx
  password: xxx
  # Part 3: Strategies Block (Remove Conditions)
  strategies:
    strategy1:    # Part I: Strategy Name
      # Part II: Filters
      all_status: true
      # Part III: Remove Condition
      free_space:
        min: 1
        path: /mnt/downloads
        action: remove-old-seeds
    # Add more strategies here...
  # Part 4: Decide whether to remove and delete data (optional)
  delete_data: true

# Add more tasks here...

如何更改配置文件?

试运行

autoremove-torrents --view

运行

autoremove-torrents

卸载

pip uninstall autoremove-torrents
Last modification:July 2, 2021
如果觉得我的文章对你有用,请随意赞赏