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

Peertube torrent #22144

Closed
Sosthene-Guedon opened this issue Aug 18, 2019 · 1 comment
Closed

Peertube torrent #22144

Sosthene-Guedon opened this issue Aug 18, 2019 · 1 comment

Comments

@Sosthene-Guedon
Copy link

@Sosthene-Guedon Sosthene-Guedon commented Aug 18, 2019

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2019.08.13
  • I've searched the bugtracker for similar site feature requests including closed ones

Description

WRITE DESCRIPTION HERE
When using youtube-dl to download from peertube the video is downloaded as any other media.
However the main idea of peertube is to use torrent.
Adding torrenting capabilities to youtube-dl is not a great idea, as discussed in #17368.
However, I think that adding a command line argument (--peertube-torrent-file) to make youtube-dl download the torrent file instead of the video could be useful.
For exemple :
`youtube-dl --peertube-torrent-file https://skeptikon.fr/videos/watch/aae59455-f4df-4e9b-b0f4-ee9be336464d'
would download the torrent file :
https://skeptikon.fr/download/torrents/aae59455-f4df-4e9b-b0f4-ee9be336464d-1080.torrent
and not the video itself.
Then the user can use their own torrent manager to download the video.

I'm currently trying to implement this feature myself. I know how to make the extractor fetch the torrent url, but I have trouble understanding how command-line arguments are parsed to control when it should be done (I'll probably figure it out though).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 18, 2019

Current policy is to only return links youtube-dl can handle itself.

@dstftw dstftw closed this Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.