1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 00:16:48 +00:00

remove duplicate video id extraction

This commit is contained in:
mbunse 2023-01-21 20:16:21 +01:00
parent 6b54fcef20
commit bfca7e849c

View File

@ -40,10 +40,6 @@ class VideoCdnIE(InfoExtractor):
formats = [] formats = []
video_id = self._search_regex(
r'(?ims)<div[^>]+mi24-video-player+.*video-id=[\"\'](?P<videoid>[A-Za-z0-9_-]+)',
webpage, 'video id', group='videoid')
thumbnail = self._search_regex( thumbnail = self._search_regex(
r'\"thumbnailUrl\":\"(?P<thumbnail>[^\"]+)', r'\"thumbnailUrl\":\"(?P<thumbnail>[^\"]+)',
webpage, 'thumbnail', group='thumbnail') webpage, 'thumbnail', group='thumbnail')