Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

feat: do not limit videos to 1000

Christian Fei7382b8cf6d71
diff --git a/client/main.js b/client/main.js
index 274ac91..e9f11cc 100644
--- a/client/main.js
+++ b/client/main.js
@@ -47,7 +47,7 @@ const routes = {
videos = videos
.filter(video => video.title.split(' ').every(word => !ignoredTerms.includes(word.toLowerCase().replace(/('s|"|,|:)/,''))))
.sort((a, b) => +new Date(b.publishedAt) - +new Date(a.publishedAt))
- .filter((_, i) => i < 1000)
+ // .filter((_, i) => i < 1000)
videos.forEach(video => $videosContainer.appendChild(createVideoElement(video)))