Skip to main content

fs.youtube

https://badge.fury.io/py/fs.youtube.svg https://travis-ci.org/media-proxy/fs.youtube.svg?branch=master https://api.codacy.com/project/badge/Grade/c8331c97a4054df88cc79878c615cdb2 https://codecov.io/gh/media-proxy/fs.youtube/branch/master/graph/badge.svg https://pyup.io/repos/github/media-proxy/fs.youtube/shield.svg

A PyFilesystem2 implementation for accessing YouTube Videos and Playlists

Installation

Install directly from PyPI, using pip:

pip install fs.youtube

Usage

Opener

Use fs.open_fs to open a filesystem with an Youtube FS URL:

import fs
yt_fs = fs.open_fs('youtube://youtubeplaylistid')

The opener can use either use the YouTube Playlist ID or the whole Youtube URL.

Also Single Youtube Videos are supported.

Constructor

import fs.youtube
yt_fs = fs.youtube.YoutubeFS(
        url, playlist=True, seekable=True
        )

with each argument explained below:

url The Playlist/Video URL or simly use the YouTube ID

playlist If the ID or URL is one Video only, set this to False

seekable Use a seekable implementation to move inside the videofile.

Once created, the YoutubeFS filesystem behaves like any other filesystem (see the Pyfilesystem2 documentation).

Feedback

Found a bug ? Have an enhancement request ? Head over to the GitHub issue tracker of the project if you need to report or ask something. If you are filling in on a bug, please include as much information as you can about the issue, and try to recreate the same bug in a simple, easily reproductible situation.

See also

Metadata

Release files for fs.youtube 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fs.youtube 0.2.4
File Size Uploaded Provenance Actions
fs.youtube-0.2.4.tar.gz 5.9 kB Without provenance Details for fs.youtube-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fs.youtube 0.2.4
File Interpreter ABI Platform Actions
fs.youtube-0.2.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for fs.youtube-0.2.4-py2.py3-none-any.whl

Total release size: 13.2 kB

Release files / fs.youtube-0.2.4.tar.gz

Download URL fs.youtube-0.2.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c59965581fd66c19d5d9413477c22d0ee1cbd1b749b11dafcc0c17a32a54ac5f
BLAKE2b-256 checksum
How to use checksums
d90557d9a32fe2e93efbddfd2ba697dabb92377c560f01ac2da5f97100f027a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.4.6

Release files / fs.youtube-0.2.4-py2.py3-none-any.whl

Download URL fs.youtube-0.2.4-py2.py3-none-any.whl
Size 7.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9eb9e77cb60d3a46e1168b0b0c72dbbc01efcc1fe87b0c66ab9e87ed8d57c370
BLAKE2b-256 checksum
How to use checksums
56a7a06e956e0927a3255f31fc57bcd2865565859512914323aebf185251fc36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.4.6

Security for fs.youtube 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page