Skip to main content

A library to query BlackFiles YouTube channel videos.

Project description

BlackFiles YouTube Library

A Python library to query BlackFiles YouTube channel videos.

Available videos:

  • The Blind Man Who Escaped 100 Armed Guards [27:14]
  • The Spies Who Stole Every American's Identity [23:19]
  • The Judge His Own Country Sacrificed to the Mafia [27:40]

Installation

Install the package using pip3:

pip3 install blackfiles

Basic usage

List all videos

from blackfiles import list_videos

for video in list_videos():
    print(video)

Get a video by title

from blackfiles import get_video_by_title

video = get_video_by_title("The Blind Man Who Escaped 100 Armed Guards")
print(video)

Calculate total duration of all videos

from blackfiles.utils import total_duration

print(f"Total duration: {total_duration()}")

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

blackfiles-0.1.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blackfiles-0.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file blackfiles-0.1.1.tar.gz.

File metadata

  • Download URL: blackfiles-0.1.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for blackfiles-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0c3f6dccd55bdc269d4e696d731c6bb768fda96d8f43918406d6276e42c67886
MD5 969a11d246902a389f5e165e823125e5
BLAKE2b-256 c43fe6f6a39c75e752a84c1e7bebf7060ed8265e242382ca38986e538b3bb055

See more details on using hashes here.

File details

Details for the file blackfiles-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: blackfiles-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for blackfiles-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c867bcb67306101b2ba278775708734278814946346a8f0f09e3ba94f497044
MD5 3ef5ec7b20c6ea8df68de9c249c3adda
BLAKE2b-256 2688f7740c77a98400de7a2a94f3272a5b012c719aadb1c87817dcaadbb65f19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page