refactor: decouple from site-specific CDN references #5

Merged
kfj001 merged 11 commits from feature/no_mention_of_pornhub into master 2026-08-30 17:07:52 -07:00
Showing only changes of commit d3c8c85c58 - Show all commits
+2 -2
View File
@@ -925,8 +925,8 @@ function filterManifests(manifests) {
}
const path = urlObj.pathname.toLowerCase();
// 1) Concrete media/manifest signals win outright: a real file extension or
// /hls/ path is fetchable, even with a trailing slash (thisvid serves
// .../14644093.mp4/) or a token-bearing query — so check these before the
// /hls/ path is fetchable, even with a trailing slash
// or a token-bearing query — so check these before the
// template heuristics and never let a coincidental '%'/'/' sink a source.
if (path.includes('.m3u8') || path.includes('.hlsvod') || path.includes('/hls/') ||
path.includes('/manifest') || path.includes('.mp4') || path.includes('.webm') ||