the test didn't load our Gzip opener

this was blocking the Vimeo test

+ some more gentest fixes
This commit is contained in:
Filippo Valsorda 2012-12-11 11:33:15 +01:00
parent 59ce201915
commit 1ca63e3ae3
3 changed files with 22 additions and 7 deletions

View 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')