mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
added test for dctp
This commit is contained in:
parent
0865f397ae
commit
48a1e5141a
1 changed files with 8 additions and 1 deletions
|
@ -3,8 +3,16 @@
|
|||
|
||||
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 @@ def _real_extract(self, url):
|
|||
'ext': 'flv'
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue