From cc123d6761c50be40ab972550a257d40c2802856 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Tue, 11 Aug 2020 21:14:13 -0700 Subject: Fix author_url not prefixed in subscriptions page --- youtube/subscriptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py index 900f3ac..6f75578 100644 --- a/youtube/subscriptions.py +++ b/youtube/subscriptions.py @@ -175,7 +175,7 @@ def _get_videos(cursor, number_per_page, offset, tag = None): 'time_published': exact_timestamp(db_video[3]) if db_video[4] else posix_to_dumbed_down(db_video[3]), 'author': db_video[5], 'author_id': db_video[6], - 'author_url': 'https://www.youtube.com/channel/' + db_video[6], + 'author_url': '/https://www.youtube.com/channel/' + db_video[6], }) return videos, pseudo_number_of_videos -- cgit v1.2.3