From 6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 27 Jun 2013 20:46:46 +0200 Subject: Move tests to the IE definitions --- youtube_dl/extractor/keek.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'youtube_dl/extractor/keek.py') diff --git a/youtube_dl/extractor/keek.py b/youtube_dl/extractor/keek.py index e2093a0be..72ad6a3d0 100644 --- a/youtube_dl/extractor/keek.py +++ b/youtube_dl/extractor/keek.py @@ -6,6 +6,15 @@ from .common import InfoExtractor class KeekIE(InfoExtractor): _VALID_URL = r'http://(?:www\.)?keek\.com/(?:!|\w+/keeks/)(?P\w+)' IE_NAME = u'keek' + _TEST = { + u'url': u'http://www.keek.com/ytdl/keeks/NODfbab', + u'file': u'NODfbab.mp4', + u'md5': u'9b0636f8c0f7614afa4ea5e4c6e57e83', + u'info_dict': { + u"uploader": u"ytdl", + u"title": u"test chars: \"'/\\\u00e4<>This is a test video for youtube-dl.For more information, contact phihag@phihag.de ." + } + } def _real_extract(self, url): m = re.match(self._VALID_URL, url) -- cgit v1.2.3