mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 02:24:25 +02:00
Merge pull request #166 from debakarr/master
Skip Check for ffmpeg and shaka-packager if --skip-lectures flag is True
This commit is contained in:
commit
14095b8e72
4
main.py
4
main.py
@ -1721,12 +1721,12 @@ def main():
|
||||
sys.exit(1)
|
||||
|
||||
ffmpeg_ret_val = check_for_ffmpeg()
|
||||
if not ffmpeg_ret_val:
|
||||
if not ffmpeg_ret_val and not skip_lectures:
|
||||
logger.fatal("> FFMPEG is missing from your system or path!")
|
||||
sys.exit(1)
|
||||
|
||||
shaka_ret_val = check_for_shaka()
|
||||
if not shaka_ret_val:
|
||||
if not shaka_ret_val and not skip_lectures:
|
||||
logger.fatal("> Shaka Packager is missing from your system or path!")
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user