From 31121459bf2a622a1c803c491e92e8f4446d29f5 Mon Sep 17 00:00:00 2001 From: Argn0 Date: Fri, 23 Jun 2017 12:08:12 +0200 Subject: [PATCH] Update YoutubeDL.py --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 70f60365c..27554ad99 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -812,7 +812,7 @@ class YoutubeDL(object): Returns the resolved ie_result. """ result_type = ie_result.get('_type', 'video') - + if result_type in ('url', 'url_transparent'): ie_result['url'] = sanitize_url(ie_result['url']) extract_flat = self.params.get('extract_flat', False)