projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0865f39
)
added test for dctp
author
Paul Hartmann
<phaaurlt@gmail.com>
Wed, 28 Jan 2015 07:59:58 +0000
(08:59 +0100)
committer
Paul Hartmann
<phaaurlt@gmail.com>
Wed, 28 Jan 2015 07:59:58 +0000
(08:59 +0100)
youtube_dl/extractor/dctp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dctp.py
b/youtube_dl/extractor/dctp.py
index 5382255f0007243c177b83b7cbc9e5db30f6ad43..9b687ef43916dac20589c1059507758d3e4b153e 100644
(file)
--- a/
youtube_dl/extractor/dctp.py
+++ b/
youtube_dl/extractor/dctp.py
@@
-3,8
+3,16
@@
from __future__ import unicode_literals
from .common import InfoExtractor
+
class DctpTvIE(InfoExtractor):
_VALID_URL = r'^http://www.dctp.tv/(#/)?filme/(?P<id>.+?)/$'
+ _TEST = {
+ 'url': 'http://www.dctp.tv/filme/videoinstallation-fuer-eine-kaufhausfassade/',
+ 'info_dict': {
+ 'id': 'videoinstallation-fuer-eine-kaufhausfassade',
+ 'ext': 'flv',
+ 'title': 'Videoinstallation für eine Kaufhausfassade'}
+ }
def _real_extract(self, url):
video_id = self._match_id(url)
@@
-38,4
+46,3
@@
class DctpTvIE(InfoExtractor):
'ext': 'flv'
}
-