aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/smotri.py
diff options
context:
space:
mode:
authorcodesparkle <adam.thalhammer@outlook.com>2015-01-30 20:35:20 +1100
committercodesparkle <adam.thalhammer@outlook.com>2015-01-30 20:35:20 +1100
commit749f2ca044dc32c6a3ae9e9c55e4a22b091e2635 (patch)
tree7b76beb01cc6d4effe286a518a3dd4dee70c124e /youtube_dl/extractor/smotri.py
parent5468ff4d917eeb292ce0bfe7cf13eef75cccae19 (diff)
Smotri info extractor: removed unreachable code and updated old md5 for test video
Diffstat (limited to 'youtube_dl/extractor/smotri.py')
-rw-r--r--youtube_dl/extractor/smotri.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/extractor/smotri.py b/youtube_dl/extractor/smotri.py
index e94f41362..24746a09a 100644
--- a/youtube_dl/extractor/smotri.py
+++ b/youtube_dl/extractor/smotri.py
@@ -108,7 +108,7 @@ class SmotriIE(InfoExtractor):
# swf player
{
'url': 'http://pics.smotri.com/scrubber_custom8.swf?file=v9188090500',
- 'md5': '4d47034979d9390d14acdf59c4935bc2',
+ 'md5': '31099eeb4bc906712c5f40092045108d',
'info_dict': {
'id': 'v9188090500',
'ext': 'mp4',
@@ -139,9 +139,6 @@ class SmotriIE(InfoExtractor):
def _search_meta(self, name, html, display_name=None):
if display_name is None:
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)
def _real_extract(self, url):