Update html/search.ejs

This commit is contained in:
ashley 2025-09-02 00:18:54 +02:00
parent 983f0bee1f
commit af7950ae71

View File

@ -1421,7 +1421,7 @@ no results found :c u can try <a href="https://youtube.com/results?search_query=
font-weight: 1000;" href="/watch?v=<%= x.videoId %>" class="title max-lines-2"><%= x.title %></a> font-weight: 1000;" href="/watch?v=<%= x.videoId %>" class="title max-lines-2"><%= x.title %></a>
<div style="display: flex; flex-direction: column; row-gap: 8px;font-weight:bold"> <div style="display: flex; flex-direction: column; row-gap: 8px;font-weight:bold">
<a href="/watch?v=<%= x.videoId %>"><span><%= x.viewCountText %></span> <span>•</span> <span><%= x.publishedText %></span></a> <a href="/watch?v=<%= x.videoId %>"><span><%= x.viewCountText %></span> <span>•</span> <span><%= x.publishedText %></span></a>
<img src="<%= x.authorThumbnails[1].url %>"> <img src="<%- media_proxy_url %>/proxy?url=<%= x.authorThumbnails[1].url %>">
<a href="/channel?id=<%= x.authorId %>"><%= x.author %><% if (x?.authorVerified) { %> <a href="/channel?id=<%= x.authorId %>"><%= x.author %><% if (x?.authorVerified) { %>
<i class="icon ion ion-md-checkmark-circle" title="verified channel"></i><% } %></a> <i class="icon ion ion-md-checkmark-circle" title="verified channel"></i><% } %></a>
@ -1477,7 +1477,7 @@ font-weight: 1000;" href="/watch?v=<%= x.videoId %>" class="title max-lines-2"><
<div style="display: flex; flex-direction: column; row-gap: 8px;font-weight:bold"> <div style="display: flex; flex-direction: column; row-gap: 8px;font-weight:bold">
<a href="/watch?v=<%= x.videoId %>"><span><%= x.viewCountText %></span> <span>•</span> <span><%= x.publishedText %></span></a> <a href="/watch?v=<%= x.videoId %>"><span><%= x.viewCountText %></span> <span>•</span> <span><%= x.publishedText %></span></a>
<div style="display: flex;margin-bottom: 0px;"> <div style="display: flex;margin-bottom: 0px;">
<img src="<%= x.authorThumbnails[1].url %>" style="width: fit-content;height: 23px;border-radius: 1em;"> <img src="<%- media_proxy_url %>/proxy?url=<%= x.authorThumbnails[1].url %>" style="width: fit-content;height: 23px;border-radius: 1em;">
<a href="/channel?id=<%= x.authorId %>" style="margin:4px"><%= x.author %><% if (x?.authorVerified) { %> <a href="/channel?id=<%= x.authorId %>" style="margin:4px"><%= x.author %><% if (x?.authorVerified) { %>
<i class="icon ion ion-md-checkmark-circle" title="verified channel"></i><% } %></a> <i class="icon ion ion-md-checkmark-circle" title="verified channel"></i><% } %></a>
</div> </div>
@ -1519,16 +1519,9 @@ font-weight: 1000;" href="/watch?v=<%= x.videoId %>" class="title max-lines-2"><
</div> </div>
<% }) %> <% }) %>
<% } %> <% } %>
<audio id="audio" style="display:none;" loop autoplay></audio> <audio id="audio" style="display:none;" loop autoplay></audio>
<% if (invresults?.length >= 1) { %> <% if (invresults?.length >= 1) { %>
<center> <center>