Metadata-Version: 2.1
Name: youtubetogo
Version: 0.1.0
Summary: A script to download and convert YouTube videos to either video or audio format.
Home-page: https://github.com/kdcllc/youtubetogo
Author: kdcllc
Author-email: info@kingdavidconsulting.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pytube
Requires-Dist: python-dotenv
Requires-Dist: argparse

# YouTube Video Downloader and Converter

This script downloads and converts YouTube videos to either video or audio format. It can download videos from a specific channel or a single video URL.

## Requirements

1. **ffmpeg** to be installed on the system.

```bash
sudo apt install ffmpeg
```

2. If desired to download all of the videos from a specified channel then [**YouTube Data API v3**](https://console.cloud.google.com/apis/) key must be created.

## Installation

You can install the package using pip:

```bash
pip install youtubetogo
```

## Command Line Usage

```bash
python main.py -u <video_url> [-a]
python main.py -c <channel_id> [-a]
```

### Arguments

- `-a`, `--audio`: Convert videos to audio
- `-u`, `--url`: URL of the video to download and convert
- `-c`, `--channel`: Channel ID to download and convert videos from

## Deploy

```bash
    pip install setuptools wheel twine
```

```bash
    python setup.py sdist bdist_wheel
```

