1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[linkedin:learning:course] use url_transparent type for playlist entries

This commit is contained in:
Remita Amine 2018-10-29 21:49:12 +01:00
parent aa7e974a2a
commit b14475724b

View File

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