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.3.1

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.3.1
File Size Uploaded
fs.youtube-0.3.1.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size: 13.9 kB

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

Download URL fs.youtube-0.3.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
63160485055520fa59550ad200852d8ac4d492292a672788088728fab4d003a7
BLAKE2b-256 checksum
How to use checksums
f07044f99810012e9ae433fa84148c6ab087a837bb9d93153f337cf47eab6bd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

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

Download URL fs.youtube-0.3.1-py2.py3-none-any.whl
Size 7.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
64c2719851b122e66fca97177ee283fb6499b5354776d9b77f5e9971db7854aa
BLAKE2b-256 checksum
How to use checksums
5d70bab7424f71000744d07d5133136adbcb843a4e675d1d719fdfacd1f41d12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

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