Compare commits

..

3 Commits

Author SHA1 Message Date
601a5d335e
Update DL.py 2025-12-17 17:51:49 +00:00
298f1179f7
Update NPO.py 2025-12-17 17:51:23 +00:00
b3e4842a6d
NPO_win_en_linux 2025-12-17 17:50:49 +00:00

8
DL.py
View File

@ -166,8 +166,12 @@ def main():
all_keypairs.extend(keys) all_keypairs.extend(keys)
script_dir = Path(sys.argv[0]).parent.resolve() script_dir = Path(sys.argv[0]).parent.resolve()
n_m3u8dl_re_path = script_dir / "N_m3u8DL-RE" if sys.platform == "win32":
mp4decrypt_path = script_dir / "mp4decrypt" n_m3u8dl_re_path = script_dir / "N_m3u8DL-RE.exe"
mp4decrypt_path = script_dir / "mp4decrypt.exe"
else:
n_m3u8dl_re_path = script_dir / "N_m3u8DL-RE"
mp4decrypt_path = script_dir / "mp4decrypt"
# Build command for N_m3u8dl-re # Build command for N_m3u8dl-re
cmd = [str(n_m3u8dl_re_path), mpd_url] cmd = [str(n_m3u8dl_re_path), mpd_url]