Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Feature Request: Create magnet links from youtube links #23480
Comments
|
oops, magnet need metadata. |
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:
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!