aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--youtube/comments.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/youtube/comments.py b/youtube/comments.py
index feaa912..8dc9d86 100644
--- a/youtube/comments.py
+++ b/youtube/comments.py
@@ -143,7 +143,13 @@ def video_comments(video_id, sort=0, offset=0, lc='', secret_key=''):
other_sort_url = util.URL_ORIGIN + '/comments?ctoken=' + make_comment_ctoken(video_id, sort=1 - sort, lc=lc)
other_sort_text = 'Sort by ' + ('newest' if sort == 0 else 'top')
- comments_info['comment_links'] = [(other_sort_text, other_sort_url)]
+
+ this_sort_url = (util.URL_ORIGIN
+ + '/comments?ctoken='
+ + make_comment_ctoken(video_id, sort=sort, lc=lc))
+
+ comments_info['comment_links'] = [(other_sort_text, other_sort_url),
+ ('Direct link', this_sort_url)]
return comments_info