mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 04:04:27 +02:00
Merge branch 'master' of https://github.com/Puyodead1/udemy-downloader
This commit is contained in:
commit
4c0f4d2225
@ -27,7 +27,7 @@ Windows is the primary development OS, but I've made an effort to support linux
|
||||
|
||||
# Requirements
|
||||
|
||||
1. You would need to download `ffmpeg`, `aria2c` and `mp4decrypter` (from Bento4 SDK) and ensure they are in path (typing their name in cmd should invoke them).
|
||||
1. You would need to download `ffmpeg`, `aria2c` and `mp4decrypt` (from Bento4 SDK) and ensure they are in path (typing their name in cmd should invoke them).
|
||||
|
||||
# Usage
|
||||
|
||||
|
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