aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/comments.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-06-10 16:41:45 -0500
committerJesús <heckyel@hyperbola.info>2021-06-10 16:41:45 -0500
commit7fd2c3474fa71cfb36f64e7f5c4d89fb21c38334 (patch)
tree69802416f43f6ef8eff03716933094997bc41b34 /youtube/comments.py
parentd35188178b947d0f3c0c3dbaa0fbfe47d7bdf20a (diff)
downloadyt-local-7fd2c3474fa71cfb36f64e7f5c4d89fb21c38334.tar.lz
yt-local-7fd2c3474fa71cfb36f64e7f5c4d89fb21c38334.tar.xz
yt-local-7fd2c3474fa71cfb36f64e7f5c4d89fb21c38334.zip
Capitalize name app
Diffstat (limited to 'youtube/comments.py')
-rw-r--r--youtube/comments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/comments.py b/youtube/comments.py
index 208c161..68456bd 100644
--- a/youtube/comments.py
+++ b/youtube/comments.py
@@ -187,7 +187,7 @@ def video_comments(video_id, sort=0, offset=0, lc='', secret_key=''):
return {}
except util.FetchError as e:
if e.code == '429' and settings.route_tor:
- comments_info['error'] = 'Error: Youtube blocked the request because the Tor exit node is overutilized.'
+ comments_info['error'] = 'Error: YouTube blocked the request because the Tor exit node is overutilized.'
if e.error_message:
comments_info['error'] += '\n\n' + e.error_message
comments_info['error'] += '\n\nExit node IP address: %s' % e.ip