projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be99f0
)
Only mention websense URL once
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 3 Apr 2014 06:12:53 +0000
(08:12 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 3 Apr 2014 06:12:53 +0000
(08:12 +0200)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index fe09817f9ea0df22920503a61b9a984a5c94c1be..da4193734971122c2ef72f3dca4acecd93e5f784 100644
(file)
--- 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)