Format views and add link to cookie issue

This commit is contained in:
Omar Roth 2018-03-16 12:14:40 -05:00
parent 6581f96b70
commit 1b17550545
5 changed files with 38 additions and 31 deletions

View file

@ -1,3 +1,4 @@
# See https://github.com/crystal-lang/crystal/pull/5408
module HTTP
class Cookie
module Parser

View file

@ -12,7 +12,9 @@
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
<p><%= video.title %></p>
</a>
<p><b><a style="width:100%;" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b></p>
<p>
<b><a style="width:100%;" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b>
</p>
</div>
</div>
<% end %>

View file

@ -11,7 +11,9 @@
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %>
</a>
<p><b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b></p>
<p>
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>
</p>
</div>
</div>
<% end %>

View file

@ -165,7 +165,9 @@ function toggle_comments(target) {
<a href="/watch?v=<%= rv["id"] %>">
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
<p style="width:100%"><%= rv["title"] %></p>
<p><b style="width: 100%"><%= rv["author"] %></b></p>
<p>
<b style="width: 100%"><%= rv["author"] %></b>
</p>
</a>
<% end %>
<% end %>