|
|
@ -6,13 +6,13 @@
|
|
|
|
import sys
|
|
|
|
import sys
|
|
|
|
from pathlib import Path
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
|
|
|
import yt_dlp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __package__ is None and not getattr(sys, 'frozen', False):
|
|
|
|
if __package__ is None and not getattr(sys, 'frozen', False):
|
|
|
|
# direct call of __main__.py
|
|
|
|
# direct call of __main__.py
|
|
|
|
path = Path(__file__).resolve()
|
|
|
|
path = Path(__file__).resolve()
|
|
|
|
sys.path.insert(0, str(path.parent.parent))
|
|
|
|
sys.path.insert(0, str(path.parent.parent))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import yt_dlp
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
|
|
|
|
yt_dlp.main()
|
|
|
|
yt_dlp.main()
|
|
|
|