Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube2ipfs-0.3.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

youtube2ipfs-0.3-py3-none-any.whl (15.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page