Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] 添加 /watch 目录来自动识别 .torrent 文件或者 包含磁力链接的文本文件 #62

Open
hereisderek opened this issue Oct 7, 2021 · 0 comments

Comments

@hereisderek
Copy link
Contributor

hereisderek commented Oct 7, 2021

添加 /watch 目录来自动识别 .torrent 文件或者 包含磁力链接/torrent link 的文本文件

我还没有想到 torrent 文件制定下载目标目录的方法 可能就直接默认位置 /downloads

磁力链接的文本则可以:

  • #开头为注释行直接跳过
  • 格式类似 magnet:?xt=urn:btih:** 仅仅包含连接的下载到默认位置
  • 格式类似 magnet:?xt=urn:btih:** /absolute/path 下载到指定绝对路径
  • 格式类似 magnet:?xt=urn:btih:** relative/path 下载到相对默认下载路径的位置 (/downloads/relative/path)
  • 添加之后移动或者删除原文件
  • (optiional) MAX_WATCH_LINK_FILE_SIZE 跳过处理过大的文件 (0 为无限制)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant