Update YoutubeDL.py

This commit is contained in:
Argn0 2017-06-23 12:08:12 +02:00 committed by GitHub
parent 6f22b4c01c
commit 31121459bf

View File

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