Remove the compatibility code used before the new format system was implemented
[youtube-dl] / youtube_dl / extractor / faz.py
index c0169de048fce6910aaac3da53daabefa1af2969..d0dfde694b4d93f7249f2dd3a326ecb0bdca98dd 100644 (file)
@@ -44,13 +44,10 @@ class FazIE(InfoExtractor):
             })
 
         descr = self._html_search_regex(r'<p class="Content Copy">(.*?)</p>', webpage, u'description')
-        info = {
+        return {
             'id': video_id,
             'title': self._og_search_title(webpage),
             'formats': formats,
             'description': descr,
             'thumbnail': config.find('STILL/STILL_BIG').text,
         }
-        # TODO: Remove when #980 has been merged
-        info.update(formats[-1])
-        return info