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:
parent
6b54fcef20
commit
bfca7e849c
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user