diff --git a/app/routes.py b/app/routes.py index 42bab8d..241996f 100644 --- a/app/routes.py +++ b/app/routes.py @@ -232,6 +232,7 @@ def ytsearch(): 'id':v['id'], 'videoThumb': v['thumbnails'][-1], 'channelUrl':v['url_suffix'], + 'channelId': v['channelId'], 'views':v['views'], 'timeStamp':v['publishedText'] }) diff --git a/app/templates/channel.html b/app/templates/channel.html index 1eb41e3..2f8a8f2 100644 --- a/app/templates/channel.html +++ b/app/templates/channel.html @@ -8,10 +8,14 @@
{{channel.name}}
- - - {{channel.subCount}} - +
+
+ {{channel.subCount}} +
+
+ Followers +
+
diff --git a/app/templates/ytsearch.html b/app/templates/ytsearch.html index ad2749b..985e156 100644 --- a/app/templates/ytsearch.html +++ b/app/templates/ytsearch.html @@ -16,7 +16,7 @@
{% if channels %} -
+

Users

{% for res in channels %} @@ -40,7 +40,7 @@
- {{res.username}} + {{res.username}}
{{res.subCount}}