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.0.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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blackfiles-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 87c38bf409bf477bc831b41beab347f66b3da0d08dd0b3b2fa6ebfd2ab78c34d
MD5 0bb7efe1c04493af280d2a41eae860dc
BLAKE2b-256 a47de1140014328646266c199c9ca8d6fa2ebb96323b67261cc1671f46006747

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blackfiles-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a8020fa427a808c4053164b320a92b0a96b96b14e64909664e679b87c7d61bb
MD5 09ae9b7e3c43522522f33c8af5a6962e
BLAKE2b-256 f25a7da8b148365e66d8cc57f9d6aeab95cee129e182b6359b4fbaba717e1f29

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