multi video support, yt-dlp fix

This commit is contained in:
Jarian Cottingham 2025-12-27 00:00:01 -06:00
parent cd4e2c56ba
commit fcbf07b141
5 changed files with 3137 additions and 335 deletions

View File

@ -1,14 +0,0 @@
{
"download_dir": "~/Downloads/youtube",
"default_locations": [
"~/Downloads/youtube",
"~/Movies/youtube",
"/tmp/youtube"
],
"max_videos_per_page": 15,
"yt_dlp_args": {
"format": "bestvideo[height=1080]+bestaudio/bestvideo[height<=1080]+bestaudio",
"write_thumbnail": true,
"extractor_args": "youtube:player-client=default,-tv_simply"
}
}

36
structure.md Normal file
View File

@ -0,0 +1,36 @@
# YouTube CLI Project Structure
## Root Directory Files
- **.gitignore** - Git ignore file to exclude unnecessary files from version control
- **README.md** - Project documentation and usage instructions
- **requirements.txt** - Python dependencies required for the project
- **run.sh** - Shell script to run the application
- **setup.py** - Python package setup configuration
- **config.json** - Configuration file for the application settings
- **prompt.md** - Prompt template used for generating markdown content
## Package Directory: youtube_cli
- **youtube_cli/__init__.py** - Package initialization file
- **youtube_cli/__main__.py** - Main entry point for running the package as a module
- **youtube_cli/main.py** - Core application logic and main functions
## Package Cache Directory: youtube_cli/__pycache__
- **youtube_cli/__pycache__/__init__.cpython-314.pyc** - Compiled Python cache file for __init__.py
- **youtube_cli/__pycache__/__main__.cpython-314.pyc** - Compiled Python cache file for __main__.py
- **youtube_cli/__pycache__/main.cpython-314.pyc** - Compiled Python cache file for main.py
## Package Info Directory: youtube_cli.egg-info
- **youtube_cli.egg-info/dependency_links.txt** - Dependency links for the package
- **youtube_cli.egg-info/entry_points.txt** - Entry points for console scripts
- **youtube_cli.egg-info/PKG-INFO** - Package metadata information
- **youtube_cli.egg-info/requires.txt** - Required dependencies for the package
- **youtube_cli.egg-info/SOURCES.txt** - List of source files in the package
- **youtube_cli.egg-info/top_level.txt** - Top-level package names
## User Data Directory
- **~/Downloads/youtube/downloaded_videos.json** - JSON file storing information about downloaded videos (user-specific path)

View File

@ -1,9 +0,0 @@
#!/usr/bin/env python3
"""
YouTube CLI - A command-line interface for browsing and downloading YouTube videos
"""
from .main import main
if __name__ == "__main__":
main()

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff