Browse Source

[teletask] Fix test definition

Philipp Hagemeister 10 years ago
parent
commit
654bd52f58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/teletask.py

+ 1 - 1
youtube_dl/extractor/teletask.py

@@ -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(