Skip to content

Download videos from YouTube (and similar video platforms) and add them to IPFS.

License

Notifications You must be signed in to change notification settings

dokterbob/youtube2ipfs

Repository files navigation

youtube2ipfs

Download videos from YouTube (and similar video platforms) and add them to IPFS.

Based on youtube-dl and py-ipfs-http-client.

Requirements

Installation

Latest published version:

$ pip install youtube2ipfs

Bleeding edge:

$ pip install git+https://github.com/dokterbob/youtube2ipfs

Usage

First, make sure you have IPFS running. Then:

$ youtube2ipfs https://www.youtube.com/watch?v=FHH6hIc2GyE
QmaqcMNVRvet1ZfRFoEBkGaEVLHKTUtkgX3139gpPc1zve

You can view the result through the IPFS gateway: https://gateway.ipfs.io/ipfs/QmaqcMNVRvet1ZfRFoEBkGaEVLHKTUtkgX3139gpPc1zve

It accepts multiple URL's, as well as channels and playlists. Multiple files will be added to the same top-level directory. Subtitles will also be downloaded and metadata is added to the video file.

For more details, use the --verbose or -v option (once or twice). A custom IPFS node can also be specified.

About

Download videos from YouTube (and similar video platforms) and add them to IPFS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages