A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
fix when relativeTime is undefined
Christian Feief661f3fd620
diff --git a/lib/youtube.js b/lib/youtube.jsindex 9a0b4e9..980da51 100644--- a/lib/youtube.js+++ b/lib/youtube.js@@ -82,6 +82,7 @@ export async function getVideosFor(channelName) {}function parseRelativeTime(relativeTime) {+ if (!relativeTime) returnconst now = new Date();let match;