1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00:00

[teletask] Fix test definition

This commit is contained in:
Philipp Hagemeister 2015-02-01 15:25:33 +01:00
parent a9551e9020
commit 654bd52f58

View file

@ -11,6 +11,7 @@ class TeleTaskIE(InfoExtractor):
_TEST = { _TEST = {
'url': 'http://www.tele-task.de/archive/video/html5/26168/', 'url': 'http://www.tele-task.de/archive/video/html5/26168/',
'info_dict': { 'info_dict': {
'id': '26168',
'title': 'Duplicate Detection', 'title': 'Duplicate Detection',
}, },
'playlist': [{ 'playlist': [{
@ -34,7 +35,6 @@ class TeleTaskIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
lecture_id = self._match_id(url) lecture_id = self._match_id(url)
webpage = self._download_webpage(url, lecture_id) webpage = self._download_webpage(url, lecture_id)
title = self._html_search_regex( title = self._html_search_regex(