multi video support, yt-dlp fix
This commit is contained in:
parent
cd4e2c56ba
commit
fcbf07b141
14
config.json
14
config.json
@ -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
36
structure.md
Normal 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)
|
||||
@ -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()
|
||||
1066
youtube_cli/main.py
1066
youtube_cli/main.py
File diff suppressed because it is too large
Load Diff
2347
~/Downloads/youtube/downloaded_videos.json
Normal file
2347
~/Downloads/youtube/downloaded_videos.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user