1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-16 14:27:53 +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 = []
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(
r'\"thumbnailUrl\":\"(?P<thumbnail>[^\"]+)',
webpage, 'thumbnail', group='thumbnail')