the test didn't load our Gzip opener
[youtube-dl] / youtube_dl / InfoExtractors.py
index 49976c25b2d8a5da6867d5dbc3dbaf292fd2a0e1..9cfff153b12fce1c4db4c1420b6f0caab323a8c2 100644 (file)
@@ -1072,8 +1072,8 @@ class VimeoIE(InfoExtractor):
         self.report_extraction(video_id)
 
         # Extract the config JSON
-        config = webpage.split(' = {config:')[1].split(',assets:')[0]
         try:
+            config = webpage.split(' = {config:')[1].split(',assets:')[0]
             config = json.loads(config)
         except:
             self._downloader.trouble(u'ERROR: unable to extract info section')