mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-29 19:44:26 +02:00
fix #175
This commit is contained in:
parent
3a13ba5a54
commit
271a426a8c
5
main.py
5
main.py
@ -1639,7 +1639,10 @@ def parse_new(udemy: Udemy, udemy_object: dict):
|
||||
for lecture in chapter.get("lectures"):
|
||||
clazz = lecture.get("_class")
|
||||
|
||||
if clazz == "quiz" and dl_quizzes:
|
||||
if clazz == "quiz":
|
||||
# skip the quiz if we dont want to download it
|
||||
if not dl_quizzes:
|
||||
continue
|
||||
process_quiz(udemy, lecture, chapter_dir)
|
||||
continue
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user