commit: b6cfde99b7e4ddd16123a1fbc6173c05d691415c
parent 1be99f052da596a69c7f1bfb7e23028bb480212f
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Thu, 3 Apr 2014 08:12:53 +0200
Only mention websense URL once
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
@@ -255,7 +255,7 @@ class InfoExtractor(object):
if (u'<title>Access to this site is blocked</title>' in content and
u'Websense' in content[:512]):
- msg = u'Access to URL %s has been blocked by Websense filtering software in your network.' % urlh.geturl()
+ msg = u'Access to this webpage has been blocked by Websense filtering software in your network.'
blocked_iframe = self._html_search_regex(
r'<iframe src="([^"]+)"', content,
u'Websense information URL', default=None)