aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-11 11:33:15 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-11 11:33:15 +0100
commit1ca63e3ae3f7f61a9c38e04eec421faa42a1faee (patch)
tree556b8e3485244f499fd88fd0102328effe27db6d /youtube_dl
parent59ce20191588028ee90551b40b33a8a36d778eec (diff)
downloadyoutube-dl-1ca63e3ae3f7f61a9c38e04eec421faa42a1faee.tar.xz
the test didn't load our Gzip opener
this was blocking the Vimeo test + some more gentest fixes
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 49976c25b..9cfff153b 100644
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -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')