aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/metacritic.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/metacritic.py')
-rw-r--r--youtube_dl/extractor/metacritic.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/extractor/metacritic.py b/youtube_dl/extractor/metacritic.py
index 449138b56..6b95b4998 100644
--- a/youtube_dl/extractor/metacritic.py
+++ b/youtube_dl/extractor/metacritic.py
@@ -43,13 +43,10 @@ class MetacriticIE(InfoExtractor):
description = self._html_search_regex(r'<b>Description:</b>(.*?)</p>',
webpage, u'description', flags=re.DOTALL)
- info = {
+ return {
'id': video_id,
'title': clip.find('title').text,
'formats': formats,
'description': description,
'duration': int(clip.find('duration').text),
}
- # TODO: Remove when #980 has been merged
- info.update(formats[-1])
- return info