mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 01:54:25 +02:00
Bug Fix
This commit is contained in:
parent
1e83f29d53
commit
3780a87956
7
main.py
7
main.py
@ -1240,7 +1240,8 @@ def parse_new(_udemy):
|
||||
lang = subtitle.get("language")
|
||||
if lang == caption_locale or caption_locale == "all":
|
||||
# ret_val should be True or False indicating download success
|
||||
ret_val = process_caption(subtitle, lecture_title, chapter_dir)
|
||||
ret_val = process_caption(
|
||||
subtitle, lecture_title, chapter_dir)
|
||||
|
||||
if use_mkv:
|
||||
print("> Muxing MKV and {} subtitles...".format(
|
||||
@ -1774,6 +1775,4 @@ if __name__ == "__main__":
|
||||
if args.info:
|
||||
_print_course_info(_udemy)
|
||||
else:
|
||||
parse_new(_udemy, quality, skip_lectures, dl_assets, dl_captions,
|
||||
caption_locale, keep_vtt, access_token,
|
||||
concurrent_connections)
|
||||
parse_new(_udemy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user