aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/common.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-06 17:41:16 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-06 17:41:16 -0700
commit9cefa46bc53d94ee53940449c4d3af0ad6faec0e (patch)
tree39fc7c8dea15b20203a4cd8f4d110702f49452ae /youtube/common.py
parentedbc305da9c4f32b18b25b635e5c4b3b16fb107c (diff)
downloadyt-local-9cefa46bc53d94ee53940449c4d3af0ad6faec0e.tar.lz
yt-local-9cefa46bc53d94ee53940449c4d3af0ad6faec0e.tar.xz
yt-local-9cefa46bc53d94ee53940449c4d3af0ad6faec0e.zip
add playlist tab to channels
Diffstat (limited to 'youtube/common.py')
-rw-r--r--youtube/common.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/youtube/common.py b/youtube/common.py
index b8fe751..6994064 100644
--- a/youtube/common.py
+++ b/youtube/common.py
@@ -58,7 +58,7 @@ medium_playlist_item_template = Template('''
</div>
</a>
- <a class="title" href="$url" title=$title>$title</a>
+ <a class="title" href="$url" title="$title">$title</a>
<address><a href="$author_url">$author</a></address>
</div>
@@ -73,10 +73,6 @@ medium_video_item_template = Template('''
<a class="title" href="$url">$title</a>
<div class="stats">$stats</div>
- <!--
- <address><a href="$author_url">$author</a></address>
- <span class="views">$views</span>
- <time datetime="$datetime">Uploaded $published</time>-->
<span class="description">$description</span>
<span class="badges">$badges</span>
@@ -477,7 +473,7 @@ def video_item_html(item, template, html_exclude=set()):
return template.substitute(html_ready)
-def playlist_item_html(item, template, html_exlude=set()):
+def playlist_item_html(item, template, html_exclude=set()):
html_ready = get_html_ready(item)
html_ready['url'] = URL_ORIGIN + "/playlist?list=" + html_ready['id']