diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-08-06 19:24:36 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-08-06 19:24:36 -0700 |
commit | 09837e9fa6a7c905699dc0f62fcbe466ca9a21c5 (patch) | |
tree | ca321d9b875b5a979ef041bd2cb8988d7577627f /youtube/channel.py | |
parent | 2a36c486ef639f852d59956e15a3efc1fa5884dd (diff) | |
download | yt-local-09837e9fa6a7c905699dc0f62fcbe466ca9a21c5.tar.lz yt-local-09837e9fa6a7c905699dc0f62fcbe466ca9a21c5.tar.xz yt-local-09837e9fa6a7c905699dc0f62fcbe466ca9a21c5.zip |
fix channel title on channel search page
Diffstat (limited to 'youtube/channel.py')
-rw-r--r-- | youtube/channel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/channel.py b/youtube/channel.py index bac78be..5751b95 100644 --- a/youtube/channel.py +++ b/youtube/channel.py @@ -285,10 +285,10 @@ def channel_search_page(polymer_json, query, current_page=1, number_of_videos = return yt_channel_items_template.substitute( header = common.get_header(), - channel_title = html.escape(query + ' - Channel search'), + channel_title = html.escape(microformat['title']), channel_tabs = channel_tabs_html(channel_id, '', query), avatar = '/' + microformat['thumbnail']['thumbnails'][0]['url'], - page_title = microformat['title'] + ' - Channel', + page_title = html.escape(query + ' - Channel search'), items = items_html, page_buttons = common.page_buttons_html(current_page, math.ceil(number_of_videos/29), URL_ORIGIN + "/channel/" + channel_id + "/search", current_query_string), number_of_results = '', |