diff options
author | Jesús <heckyel@hyperbola.info> | 2022-03-12 06:05:22 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-03-12 06:05:22 +0800 |
commit | b9775db0f6c1013c76bd34784a92943c1c099e17 (patch) | |
tree | 578123ef504e260d59b3490eab648f7e20348f94 /yt_dlp/extractor/frontendmasters.py | |
parent | 4dca2c43485c9aebf8437e0dae86668a0b969b20 (diff) | |
parent | 592b748582f67309ac79670ba6a4bb7a62c4506f (diff) | |
download | hypervideo-pre-b9775db0f6c1013c76bd34784a92943c1c099e17.tar.lz hypervideo-pre-b9775db0f6c1013c76bd34784a92943c1c099e17.tar.xz hypervideo-pre-b9775db0f6c1013c76bd34784a92943c1c099e17.zip |
updated from upstream | 12/03/2022 at 06:05
Diffstat (limited to 'yt_dlp/extractor/frontendmasters.py')
-rw-r--r-- | yt_dlp/extractor/frontendmasters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/frontendmasters.py b/yt_dlp/extractor/frontendmasters.py index 40b8cb0b4..0d29da29b 100644 --- a/yt_dlp/extractor/frontendmasters.py +++ b/yt_dlp/extractor/frontendmasters.py @@ -252,9 +252,9 @@ class FrontendMastersCourseIE(FrontendMastersPageBaseIE): entries = [] for lesson in lessons: lesson_name = lesson.get('slug') - if not lesson_name: - continue lesson_id = lesson.get('hash') or lesson.get('statsId') + if not lesson_id or not lesson_name: + continue entries.append(self._extract_lesson(chapters, lesson_id, lesson)) title = course.get('title') |