aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/senateisvp.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/youtube_dl/extractor/senateisvp.py b/youtube_dl/extractor/senateisvp.py
index fa6610261..d3b8a1be4 100644
--- a/youtube_dl/extractor/senateisvp.py
+++ b/youtube_dl/extractor/senateisvp.py
@@ -133,15 +133,9 @@ class SenateISVPIE(InfoExtractor):
self._sort_formats(formats)
- info_dict = {
+ return {
'id': video_id,
'title': title,
+ 'formats': formats,
'thumbnail': thumbnail,
}
-
- if len(formats) >= 1:
- info_dict.update({'formats': formats})
- else:
- info_dict.update(formats[0])
-
- return info_dict