Youtube: Fix channel links app-wide
This commit is contained in:
parent
f515c9aab7
commit
149643721e
@ -232,6 +232,7 @@ def ytsearch():
|
|||||||
'id':v['id'],
|
'id':v['id'],
|
||||||
'videoThumb': v['thumbnails'][-1],
|
'videoThumb': v['thumbnails'][-1],
|
||||||
'channelUrl':v['url_suffix'],
|
'channelUrl':v['url_suffix'],
|
||||||
|
'channelId': v['channelId'],
|
||||||
'views':v['views'],
|
'views':v['views'],
|
||||||
'timeStamp':v['publishedText']
|
'timeStamp':v['publishedText']
|
||||||
})
|
})
|
||||||
|
@ -8,10 +8,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="margin: .1em" class="center aligned header"><a href="">{{channel.name}}</a></div>
|
<div style="margin: .1em" class="center aligned header"><a href="">{{channel.name}}</a></div>
|
||||||
<div class="center aligned description">
|
<div class="center aligned description">
|
||||||
<a>
|
<div class="statistic">
|
||||||
<i class="users icon"></i>
|
<div class="value">
|
||||||
{{channel.subCount}}
|
<i class="users icon"></i>{{channel.subCount}}
|
||||||
</a>
|
</div>
|
||||||
|
<div class="label">
|
||||||
|
Followers
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="center aligned extra content">
|
<div class="center aligned extra content">
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div class="ui one column centered grid">
|
<div class="ui one column centered grid">
|
||||||
{% if channels %}
|
{% if channels %}
|
||||||
<div class="ui middle aligned divided list">
|
<div class="ui middle aligned list">
|
||||||
<h3 class="ui dividing header">Users</h3>
|
<h3 class="ui dividing header">Users</h3>
|
||||||
|
|
||||||
{% for res in channels %}
|
{% for res in channels %}
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<img class="ui avatar image" src="{{ res.thumbnail }}">
|
<img class="ui avatar image" src="{{ res.thumbnail }}">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{res.username}}
|
<a href="{{ url_for('channel', id=res.channelId)}}">{{res.username}}</a>
|
||||||
<div class="ui label">
|
<div class="ui label">
|
||||||
<i class="user icon"></i> {{res.subCount}}
|
<i class="user icon"></i> {{res.subCount}}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user