mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-14 22:37:59 +09:00
[screencast] Add test
This commit is contained in:
parent
83cedc1cf2
commit
81de73e5b4
@ -34,7 +34,7 @@ class ScreencastIE(InfoExtractor):
|
|||||||
'thumbnail': 're:^https?://.*\.(?:gif|jpg)$',
|
'thumbnail': 're:^https?://.*\.(?:gif|jpg)$',
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://screencast.com/t/aAB3iowa',
|
'url': 'http://www.screencast.com/t/aAB3iowa',
|
||||||
'md5': 'dedb2734ed00c9755761ccaee88527cd',
|
'md5': 'dedb2734ed00c9755761ccaee88527cd',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'aAB3iowa',
|
'id': 'aAB3iowa',
|
||||||
@ -53,8 +53,10 @@ class ScreencastIE(InfoExtractor):
|
|||||||
'description': 'md5:7b9f393bc92af02326a5c5889639eab0',
|
'description': 'md5:7b9f393bc92af02326a5c5889639eab0',
|
||||||
'thumbnail': 're:^https?://.*\.(?:gif|jpg)$',
|
'thumbnail': 're:^https?://.*\.(?:gif|jpg)$',
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
]
|
'url': 'http://screencast.com/t/aAB3iowa',
|
||||||
|
'only_matching': True,
|
||||||
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user