1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-30 21:12:54 +01: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(