mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 01:54:25 +02:00
without flag run ffmpeg, mp4decrypt stderr streem
This commit is contained in:
parent
2b3fb655ca
commit
d7df8b18b5
10
main.py
10
main.py
@ -901,7 +901,7 @@ def check_for_aria():
|
||||
try:
|
||||
subprocess.Popen(["aria2c", "-v"],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stdin=subprocess.DEVNULL).wait()
|
||||
stderr=subprocess.DEVNULL).wait()
|
||||
return True
|
||||
except FileNotFoundError:
|
||||
return False
|
||||
@ -915,8 +915,8 @@ def check_for_aria():
|
||||
def check_for_ffmpeg():
|
||||
try:
|
||||
subprocess.Popen(["ffmpeg"],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stdin=subprocess.DEVNULL).wait()
|
||||
stderr=subprocess.DEVNULL,
|
||||
stdout=subprocess.DEVNULL).wait()
|
||||
return True
|
||||
except FileNotFoundError:
|
||||
return False
|
||||
@ -930,8 +930,8 @@ def check_for_ffmpeg():
|
||||
def check_for_mp4decrypt():
|
||||
try:
|
||||
subprocess.Popen(["mp4decrypt"],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stdin=subprocess.DEVNULL).wait()
|
||||
stderr=subprocess.DEVNULL,
|
||||
stdout=subprocess.DEVNULL).wait()
|
||||
return True
|
||||
except FileNotFoundError:
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user