aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/myvideo.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/myvideo.py
parentddbd9035764678fbd698a8e5358a8cfbdfe0dfe9 (diff)
Move tests to the IE definitions
Diffstat (limited to 'youtube_dl/extractor/myvideo.py')
-rw-r--r--youtube_dl/extractor/myvideo.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dl/extractor/myvideo.py b/youtube_dl/extractor/myvideo.py
index 47a44e3e0..b2a7b1df0 100644
--- a/youtube_dl/extractor/myvideo.py
+++ b/youtube_dl/extractor/myvideo.py
@@ -18,6 +18,14 @@ class MyVideoIE(InfoExtractor):
_VALID_URL = r'(?:http://)?(?:www\.)?myvideo\.de/watch/([0-9]+)/([^?/]+).*'
IE_NAME = u'myvideo'
+ _TEST = {
+ u'url': u'http://www.myvideo.de/watch/8229274/bowling_fail_or_win',
+ u'file': u'8229274.flv',
+ u'md5': u'2d2753e8130479ba2cb7e0a37002053e',
+ u'info_dict': {
+ u"title": u"bowling-fail-or-win"
+ }
+ }
# Original Code from: https://github.com/dersphere/plugin.video.myvideo_de.git
# Released into the Public Domain by Tristan Fischer on 2013-05-19