mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 00:43:06 +00:00
Only mention websense URL once
This commit is contained in:
parent
1be99f052d
commit
b6cfde99b7
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ def _download_webpage_handle(self, url_or_request, video_id, note=None, errnote=
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue