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: Create magnet links from youtube links #23480

Closed
axet opened this issue Dec 22, 2019 · 1 comment
Closed

Feature Request: Create magnet links from youtube links #23480

axet opened this issue Dec 22, 2019 · 1 comment
Labels

Comments

@axet
Copy link

@axet axet commented Dec 22, 2019

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

Description

Youtube dl download links in two files: audio and video then combine it together. But at the same time possible to create torrent files instead. Steps:

  1. get actual links from youtube
  2. create magnet with webseed using youtube links (I know they are temporary)
  3. download content and on fly calculate sums/parts
  4. create torrent file

If magnet link shared in short, it would be possible to start downloading and seeding youtube videos using torrents!

A little info. Torrent v1 files is a simple files list, then application decide block size, for example 1M, then read content of files as continuous stream, calculating checksums for every block. Then all this data get into torrent file. Also, file contains webseeds (https urls) which can be used to bootstrap downloading from http source. So, basically youtube magnet's is possible.

youtube-dl -torrent https://youtube.com/watch/xXxXxXx

then share open torrent file locally and share magnet links with friends!

@axet axet added the request label Dec 22, 2019
@axet
Copy link
Author

@axet axet commented Dec 22, 2019

oops, magnet need metadata.

@axet axet closed this Dec 22, 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
1 participant
You can’t perform that action at this time.