]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/ted.py
Merge changes from buster branch for the NMU while I was away.
[youtubedl] / youtube_dl / extractor / ted.py
index f9b6aa48f03d3b3a8cf49f80573eb9d24d115384..d3e4205f50472d8ea0a485f25a146e97be558aff 100644 (file)
@@ -203,10 +203,8 @@ class TEDIE(InfoExtractor):
                 ext_url = None
                 if service.lower() == 'youtube':
                     ext_url = external.get('code')
-                return {
-                    '_type': 'url',
-                    'url': ext_url or external['uri'],
-                }
+
+                return self.url_result(ext_url or external['uri'])
 
         resources_ = player_talk.get('resources') or talk_info.get('resources')