|
|
@ -720,6 +720,7 @@ class YoutubeDL(object): |
|
|
|
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) |
|
|
|
if ((extract_flat == 'in_playlist' and 'playlist' in extra_info) or |
|
|
|
extract_flat is True): |
|
|
|