Metadata-Version: 2.4
Name: blackfiles
Version: 0.1.0
Summary: A library to query BlackFiles YouTube channel videos.
Home-page: https://www.youtube.com/@Blackfiles-HD/videos
Author: Blackfiles Academy
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: summary

# 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`:

```python3
pip3 install blackfiles
```

## Basic usage

### List all videos

```python
from blackfiles import list_videos

for video in list_videos():
    print(video)
```

### Get a video by title

```python
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

```python3
from blackfiles.utils import total_duration

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