From a6778e5b00b07985ac98d09cb68caa06830e4598 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Mon, 29 Jan 2024 21:55:46 +0000 Subject: [PATCH] replace nitter and teddit --- html/poketube.ejs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 41af14a5..a4637f92 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1279,7 +1279,7 @@ display: block; !important;" autoplay controls>
- <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> + <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.freedit.eu").replace(/reddit\.com/g, "redlib.matthew.science") %>
<% } %> <% } %> <% } %> @@ -1290,7 +1290,7 @@ display: block; !important;" autoplay controls>
- <%-String(linkify(inv_vid.description)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> + <%-String(linkify(inv_vid.description)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.freedit.eu").replace(/reddit\.com/g, "redlib.matthew.science") %>
<% } %> <% } %> <% } %> @@ -1527,7 +1527,7 @@ display: block; !important;" autoplay controls>

- <% inv.comments.forEach(x =>{ %>
<% if (!x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %><% if (x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %>

<%- x.contentHtml %>

<% if (x.likeCount === 0) { %> | <% } else { %> <%= convert(x.likeCount) %> | <% } %><% if(x.creatorHeart) { %> <% } %>

<% }) %> + <% inv.comments.forEach(x =>{ %>
<% if (!x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %><% if (x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %>

<%- x.contentHtml %>

<% if (x.likeCount === 0) { %> | <% } else { %> <%= convert(x.likeCount) %> | <% } %><% if(x.creatorHeart) { %> <% } %>

<% }) %>
Go To Top
@@ -1588,7 +1588,7 @@ Recommended Videos <% if (!f) { %> -<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace("Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace("Streamed", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> +<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace("Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace("Streamed", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> <% if (f) { %> @@ -2332,7 +2332,7 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
<% if (twitter) { %>
- @<%- twitter.name %> + @<%- twitter.name %>
<% } %> @@ -2454,7 +2454,7 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
- <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> + <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.freedit.eu").replace(/reddit\.com/g, "redlib.matthew.science") %>
@@ -2471,7 +2471,7 @@ the channels social media accounts!
<% if (twitter) { %> <% } %> @@ -2752,7 +2752,7 @@ More Epic options owo~
<% if (!x.authorIsChannelOwner) { %> @@ -2862,11 +2862,11 @@ More Epic options owo~