diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-04-01 23:00:45 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-04-01 23:00:45 +0600 |
commit | 81de73e5b43e5009a14f569aed92fe73e61d4f03 (patch) | |
tree | 307743adf02b02d40e5d0ff9a09e71348284058c /youtube_dl | |
parent | 83cedc1cf224206adf513f5bdd5f5ce915d67933 (diff) |
[screencast] Add test
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/screencast.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/youtube_dl/extractor/screencast.py b/youtube_dl/extractor/screencast.py index d5111c629..c69451151 100644 --- a/youtube_dl/extractor/screencast.py +++ b/youtube_dl/extractor/screencast.py @@ -34,7 +34,7 @@ class ScreencastIE(InfoExtractor): 'thumbnail': 're:^https?://.*\.(?:gif|jpg)$', } }, { - 'url': 'http://screencast.com/t/aAB3iowa', + 'url': 'http://www.screencast.com/t/aAB3iowa', 'md5': 'dedb2734ed00c9755761ccaee88527cd', 'info_dict': { 'id': 'aAB3iowa', @@ -53,8 +53,10 @@ class ScreencastIE(InfoExtractor): 'description': 'md5:7b9f393bc92af02326a5c5889639eab0', 'thumbnail': 're:^https?://.*\.(?:gif|jpg)$', } - }, - ] + }, { + 'url': 'http://screencast.com/t/aAB3iowa', + 'only_matching': True, + }] def _real_extract(self, url): video_id = self._match_id(url) |