[egghead] fix typo
authorRemita Amine <remitamine@gmail.com>
Tue, 2 Feb 2021 18:05:37 +0000 (19:05 +0100)
committerRemita Amine <remitamine@gmail.com>
Tue, 2 Feb 2021 18:05:37 +0000 (19:05 +0100)
youtube_dl/extractor/egghead.py

index 94dd75b9b1bb74a29d77e2b0477e861101c1fd89..aff9b88c0c91e1f1630a673c583dd880dc7adbd5 100644 (file)
@@ -16,7 +16,7 @@ class EggheadBaseIE(InfoExtractor):
     def _call_api(self, path, video_id, resource, fatal=True):
         return self._download_json(
             'https://app.egghead.io/api/v1/' + path,
-            video_id, 'Downloading %s JSON' % resource)
+            video_id, 'Downloading %s JSON' % resource, fatal=fatal)
 
 
 class EggheadCourseIE(EggheadBaseIE):
@@ -79,7 +79,7 @@ class EggheadLessonIE(EggheadBaseIE):
             'upload_date': '20161209',
             'duration': 304,
             'view_count': 0,
-            'tags': ['free', 'javascript'],
+            'tags': 'count:2',
         },
         'params': {
             'skip_download': True,