X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2FInfoExtractors.py;fp=youtube_dl%2FInfoExtractors.py;h=3450f0d17e19d95d67645a50c79f0680b05379cc;hb=3820df0106d6065f50cc1eb90823906410dc9543;hp=4d145dfa101b0118ccc15a6d81d4098568ab8276;hpb=fa70605db287fd74f7d32b966ecca56260c651a0;p=youtube-dl diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 4d145dfa1..3450f0d17 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -1093,7 +1093,10 @@ class VimeoIE(InfoExtractor): config = webpage.split(' = {config:')[1].split(',assets:')[0] config = json.loads(config) except: - self._downloader.report_error(u'unable to extract info section') + if re.search('The creator of this video has not given you permission to embed it on this domain.', webpage): + self._downloader.report_error(u'The author has restricted the access to this video, try with the "--referer" option') + else: + self._downloader.report_error(u'unable to extract info section') return # Extract title