aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/testurl.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/testurl.py')
-rw-r--r--youtube_dl/extractor/testurl.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/youtube_dl/extractor/testurl.py b/youtube_dl/extractor/testurl.py
index 46918adb0..84a14a0bd 100644
--- a/youtube_dl/extractor/testurl.py
+++ b/youtube_dl/extractor/testurl.py
@@ -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)