Refactor YouTube Playlist Downloader

- Moved main execution logic to cli.py and updated imports accordingly.
- Created a new __init__.py file to export the main function from the cli module.
- Implemented the PlaylistDownloader class in downloader.py to handle playlist downloading logic.
- Added ConfigLoader class in config.py to manage configuration settings.
- Introduced PlaylistManager class in manager.py to manage multiple playlists.
- Updated encoding handling for Windows in the main execution block.
- Removed redundant code and improved overall structure for better readability and maintainability.
This commit is contained in:
dark_zoul committed 2025-10-19 17:50:14 +03:00
1 parent f41e82e17a
commit 41359edc51
6 files changed
+553 -601

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
"""ytplaylist package exports"""
from .cli import main
__all__ = ["main"]