]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/testurl.py
New upstream version 2020.03.24
[youtubedl] / youtube_dl / extractor / testurl.py
index 46918adb05fc77d45b480b138575afff9d69a086..84a14a0bdead5b96a47784da9c205231292c826b 100644 (file)
@@ -61,8 +61,4 @@ class TestURLIE(InfoExtractor):
 
         self.to_screen('Test URL: %s' % tc['url'])
 
-        return {
-            '_type': 'url',
-            'url': tc['url'],
-            'id': video_id,
-        }
+        return self.url_result(tc['url'], video_id=video_id)