mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-06 08:05:12 +02:00
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:
1 parent
f41e82e17a
commit
41359edc51
6 files changed
+553
-601
No files matched your search
@@ -0,0 +1,4 @@
|
||||
"""ytplaylist package exports"""
|
||||
from .cli import main
|
||||
|
||||
__all__ = ["main"]
|
||||
Reference in new issue
Block a user