mirror of
https://github.com/adef17286-sudo/NPO_start_DL.git
synced 2025-12-18 12:12:16 +00:00
Update DL.py
This commit is contained in:
parent
298f1179f7
commit
601a5d335e
8
DL.py
8
DL.py
@ -166,8 +166,12 @@ def main():
|
||||
all_keypairs.extend(keys)
|
||||
|
||||
script_dir = Path(sys.argv[0]).parent.resolve()
|
||||
n_m3u8dl_re_path = script_dir / "N_m3u8DL-RE"
|
||||
mp4decrypt_path = script_dir / "mp4decrypt"
|
||||
if sys.platform == "win32":
|
||||
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
|
||||
cmd = [str(n_m3u8dl_re_path), mpd_url]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user