aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/myspass.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:46:46 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:46:46 +0200
commit6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c (patch)
tree5858b022ee180d96bbb57ca5c2fb827222c83f8d /youtube_dl/extractor/myspass.py
parentddbd9035764678fbd698a8e5358a8cfbdfe0dfe9 (diff)
Move tests to the IE definitions
Diffstat (limited to 'youtube_dl/extractor/myspass.py')
-rw-r--r--youtube_dl/extractor/myspass.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube_dl/extractor/myspass.py b/youtube_dl/extractor/myspass.py
index 7b016bb86..107665d15 100644
--- a/youtube_dl/extractor/myspass.py
+++ b/youtube_dl/extractor/myspass.py
@@ -11,6 +11,15 @@ from ..utils import (
class MySpassIE(InfoExtractor):
_VALID_URL = r'http://www.myspass.de/.*'
+ _TEST = {
+ u'url': u'http://www.myspass.de/myspass/shows/tvshows/absolute-mehrheit/Absolute-Mehrheit-vom-17022013-Die-Highlights-Teil-2--/11741/',
+ u'file': u'11741.mp4',
+ u'md5': u'0b49f4844a068f8b33f4b7c88405862b',
+ u'info_dict': {
+ u"description": u"Wer kann in die Fu\u00dfstapfen von Wolfgang Kubicki treten und die Mehrheit der Zuschauer hinter sich versammeln? Wird vielleicht sogar die Absolute Mehrheit geknackt und der Jackpot von 200.000 Euro mit nach Hause genommen?",
+ u"title": u"Absolute Mehrheit vom 17.02.2013 - Die Highlights, Teil 2"
+ }
+ }
def _real_extract(self, url):
META_DATA_URL_TEMPLATE = 'http://www.myspass.de/myspass/includes/apps/video/getvideometadataxml.php?id=%s'