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

modify file paths via magnet link parameter #158

Open
milahu opened this issue Jul 3, 2024 · 0 comments
Open

modify file paths via magnet link parameter #158

milahu opened this issue Jul 3, 2024 · 0 comments

Comments

@milahu
Copy link

milahu commented Jul 3, 2024

BEP53 (#63) allows to download only some files of a torrent

in some cases, it would be useful to also modify the file paths
for example from some_folder/some_ugly_name to some.pretty.name.txt

this allows to split multi-file torrents into multiple single-file torrents

possible solution
mvi=1:new/path/1.txt - move from file index
mv=old/path/1.txt:new/path/1.txt - move from file path. related: #90 #92

example use case: download individual files from libgen torrents
the ugly filenames are md5 hashes (content-addressed storage)
the pretty filenames are based on separate metadata

-0/003ae617fbaba357b52f2f0c2b6a21dd
+Gyorgy Buzsaki - Rhythms of the brain (2006, Oxford University Press, USA).pdf
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