aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-02-01 15:14:26 -0800
committerJames Taylor <user234683@users.noreply.github.com>2020-02-01 15:14:26 -0800
commit3f310bfc3308be5cede232339a724abe413d4d96 (patch)
tree0786d028db1e19087dd9ee00e64d6ffea160cd89 /youtube
parent7c2736aa26cb1700297c9fcd6e6ffa5516243a92 (diff)
downloadyt-local-3f310bfc3308be5cede232339a724abe413d4d96.tar.lz
yt-local-3f310bfc3308be5cede232339a724abe413d4d96.tar.xz
yt-local-3f310bfc3308be5cede232339a724abe413d4d96.zip
Adjust 429 error message. A Tor Browser restart is not required.
The New Identity button suffices to get the socks proxy to use a new exit node.
Diffstat (limited to 'youtube')
-rw-r--r--youtube/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/__init__.py b/youtube/__init__.py
index 9e95256..8675c4b 100644
--- a/youtube/__init__.py
+++ b/youtube/__init__.py
@@ -41,8 +41,8 @@ def error_page(e):
and settings.route_tor
):
error_message = ('Error: Youtube blocked the request because the Tor'
- ' exit node is overcrowded. Try getting a new exit node by'
- ' restarting the Tor Browser.')
+ ' exit node is overutilized. Try getting a new exit node by'
+ ' using the New Identity button in the Tor Browser.')
if exc_info()[1].ip:
error_message += ' Exit node IP address: ' + exc_info()[1].ip
return flask.render_template('error.html', error_message=error_message), 502