]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[linkedin:learning:course] use url_transparent type for playlist entries
authorRemita Amine <remitamine@gmail.com>
Mon, 29 Oct 2018 20:49:12 +0000 (21:49 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 29 Oct 2018 20:49:12 +0000 (21:49 +0100)
youtube_dl/extractor/linkedin.py

index 6333a8fd36c4e846fbae142657571c1778d8106f..259fc4c5e8d6d7fe214faf408c97110ce55ac5bc 100644 (file)
@@ -161,7 +161,7 @@ class LinkedInLearningCourseIE(LinkedInLearningBaseIE):
                 if not video_slug:
                     continue
                 entries.append({
-                    '_type': 'url',
+                    '_type': 'url_transparent',
                     'id': self._get_video_id(video.get('urn'), course_slug, video_slug),
                     'title': video.get('title'),
                     'url': 'https://www.linkedin.com/learning/%s/%s' % (course_slug, video_slug),