mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
Smotri info extractor: removed unreachable code and updated old md5 for test video
This commit is contained in:
parent
5468ff4d91
commit
749f2ca044
@ -108,7 +108,7 @@ class SmotriIE(InfoExtractor):
|
|||||||
# swf player
|
# swf player
|
||||||
{
|
{
|
||||||
'url': 'http://pics.smotri.com/scrubber_custom8.swf?file=v9188090500',
|
'url': 'http://pics.smotri.com/scrubber_custom8.swf?file=v9188090500',
|
||||||
'md5': '4d47034979d9390d14acdf59c4935bc2',
|
'md5': '31099eeb4bc906712c5f40092045108d',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'v9188090500',
|
'id': 'v9188090500',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
@ -139,9 +139,6 @@ def _extract_url(cls, webpage):
|
|||||||
def _search_meta(self, name, html, display_name=None):
|
def _search_meta(self, name, html, display_name=None):
|
||||||
if display_name is None:
|
if display_name is None:
|
||||||
display_name = name
|
display_name = name
|
||||||
return self._html_search_regex(
|
|
||||||
r'<meta itemprop="%s" content="([^"]+)" />' % re.escape(name),
|
|
||||||
html, display_name, fatal=False)
|
|
||||||
return self._html_search_meta(name, html, display_name)
|
return self._html_search_meta(name, html, display_name)
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user