A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
chore: 30min update interval
Christian Fei8e0e7070d332
diff --git a/README.md b/README.mdindex 1c58583..223fbc5 100644--- a/README.md+++ b/README.md@@ -38,7 +38,7 @@ Add your favourite channels in the settings page.The app will fetch the latest videos from your subscribed channels and display them in chronological order.-Your subscriptions will be scraped from youtube every 10 minutes. No API key needed.+Your subscriptions will be scraped from youtube every 30 minutes. No API key needed.Then you can download a video to watch it locally. If you host `my-yt` on your local network you can watch videos on all your devices.diff --git a/lib/server.js b/lib/server.jsindex b2203d8..9da5634 100644--- a/lib/server.js+++ b/lib/server.js@@ -15,7 +15,7 @@ export function createServer (repo = new Repository()) {let lastAdded = Date.now()runUpdateVideos(repo, connections)- setInterval(runUpdateVideos, 1000 * 60 * 10, repo, connections)+ setInterval(runUpdateVideos, 1000 * 60 * 30, repo, connections)function runUpdateVideos(repo, connections) {console.log('update videos')updateAndPersistVideos(repo, ({name, videos}) => {