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

Plugin proposol: add download name dn to magnet link #3747

Open
trim21 opened this issue Apr 26, 2023 · 8 comments
Open

Plugin proposol: add download name dn to magnet link #3747

trim21 opened this issue Apr 26, 2023 · 8 comments

Comments

@trim21
Copy link
Contributor

trim21 commented Apr 26, 2023

suggest a plugin to add download name to magnet link

it process link with magnet:?xt=urn:sha1:... to magnet:?xt=urn:sha1:...?dn=... with entry["title"]

And I have a woking plugin to do this, I'd like to send a PR if you are open to this

@BrutuZ
Copy link
Contributor

BrutuZ commented Apr 26, 2023

Can't achieve that with set?

set:
  url: '{{url}}&dn={{title}}'

@trim21
Copy link
Contributor Author

trim21 commented Apr 26, 2023

Can't achieve that with set?

set:
  url: '{{url}}&dn={{title}}'

need escaping and make sure not override existing dn

@BrutuZ
Copy link
Contributor

BrutuZ commented Apr 26, 2023

{{title|urlencode}}

@gazpachoking
Copy link
Member

I'm not against it, but I also don't really see it being super useful. I'm a +0

@github-actions
Copy link

This issue is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Sep 23, 2023
@trim21
Copy link
Contributor Author

trim21 commented Sep 24, 2023

ack

@github-actions github-actions bot removed the Stale label Sep 24, 2023
Copy link

This issue is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Feb 21, 2024
@trim21
Copy link
Contributor Author

trim21 commented Feb 21, 2024

ack

@github-actions github-actions bot removed the Stale label Feb 22, 2024
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

3 participants