mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-05-01 22:34:26 +02:00
Merge pull request #31 from biplobsd/master
without any flag, ffmpeg, mp4decrypt screen output, standard error (stderr)
This commit is contained in:
commit
d6194589be
10
main.py
10
main.py
@ -901,7 +901,7 @@ def check_for_aria():
|
|||||||
try:
|
try:
|
||||||
subprocess.Popen(["aria2c", "-v"],
|
subprocess.Popen(["aria2c", "-v"],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
stdin=subprocess.DEVNULL).wait()
|
stderr=subprocess.DEVNULL).wait()
|
||||||
return True
|
return True
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
return False
|
return False
|
||||||
@ -915,8 +915,8 @@ def check_for_aria():
|
|||||||
def check_for_ffmpeg():
|
def check_for_ffmpeg():
|
||||||
try:
|
try:
|
||||||
subprocess.Popen(["ffmpeg"],
|
subprocess.Popen(["ffmpeg"],
|
||||||
stdout=subprocess.DEVNULL,
|
stderr=subprocess.DEVNULL,
|
||||||
stdin=subprocess.DEVNULL).wait()
|
stdout=subprocess.DEVNULL).wait()
|
||||||
return True
|
return True
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
return False
|
return False
|
||||||
@ -930,8 +930,8 @@ def check_for_ffmpeg():
|
|||||||
def check_for_mp4decrypt():
|
def check_for_mp4decrypt():
|
||||||
try:
|
try:
|
||||||
subprocess.Popen(["mp4decrypt"],
|
subprocess.Popen(["mp4decrypt"],
|
||||||
stdout=subprocess.DEVNULL,
|
stderr=subprocess.DEVNULL,
|
||||||
stdin=subprocess.DEVNULL).wait()
|
stdout=subprocess.DEVNULL).wait()
|
||||||
return True
|
return True
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user