chore(extractor): cache SuperVideo for 3h

This commit is contained in:
WebStreamr 2025-09-02 13:39:39 +00:00
parent c68570d2bc
commit 7ac71837b3
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -10,6 +10,8 @@ export class SuperVideo extends Extractor {
public readonly label = 'SuperVideo';
public override readonly ttl: number = 10800000; // 3h
public supports(_ctx: Context, url: URL): boolean {
return null !== url.host.match(/supervideo/);
}

View file

@ -15,7 +15,7 @@ exports[`SuperVideo embed only 1`] = `
"title": "",
},
"sourceId": "supervideo_it",
"ttl": 900000,
"ttl": 10800000,
"url": "https://hfs308.serversicuro.cc/hls/,dnzpe7rf5xg4a3gyva3h5orlyw23xosfzwunl5xbmjpz2l6t3doh5zbwynna,.urlset/master.m3u8",
},
]
@ -37,7 +37,7 @@ exports[`SuperVideo supervideo.cc /e/ 1`] = `
"title": "des-teufels-bad-2024",
},
"sourceId": "supervideo_de",
"ttl": 900000,
"ttl": 10800000,
"url": "https://hfs309.serversicuro.cc/hls/,dnzpfi3d27g4a3gyvbmh5klwtl65qh654hyjtgupd6p577fze64cp3rsmdyq,.urlset/master.m3u8",
},
]
@ -57,7 +57,7 @@ exports[`SuperVideo supervideo.tv /embed-/ 1`] = `
"title": "Babylon 5 2x3",
},
"sourceId": "supervideo_it",
"ttl": 900000,
"ttl": 10800000,
"url": "https://hfs307.serversicuro.cc/hls/,dnzpaalv5xg4a3gyvavh52jryoft7o5cd5nm7cwtnu74kmc4ohiklh5qwq4q,.urlset/master.m3u8",
},
]