cache for 12 hours

This commit is contained in:
WebStreamr 2025-10-31 21:23:14 +00:00
parent 7a329df003
commit 4fa71bf26b
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ export class Vidora extends Extractor {
public readonly label = 'Vidora';
public override readonly ttl: number = 10800000; // 3h TODO: verify how long we can cache
public override readonly ttl: number = 43200000; // 12h
public supports(_ctx: Context, url: URL): boolean {
return null !== url.host.match(/vidora/);

View file

@ -14,7 +14,7 @@ exports[`Vidora vidora.stream /embed/ 1`] = `
"Origin": "https://vidora.stream",
},
"sourceId": "vidora_",
"ttl": 10800000,
"ttl": 43200000,
"url": "https://cdn.dmovies.top/hls2/03/00000/5iz6c1elaqgq_,h,x,.urlset/master.m3u8?t=59WQnICkdOsWf2RrsiNPQmXTU1CUk7gGqBgLvh-MaIU&s=1761923136&e=43200&v=22226828&srv=maxcdn&i=0.3&sp=5000&fr=5iz6c1elaqgq",
},
]
@ -34,7 +34,7 @@ exports[`Vidora vidora.stream 1`] = `
"Origin": "https://vidora.stream",
},
"sourceId": "vidora_",
"ttl": 10800000,
"ttl": 43200000,
"url": "https://cdn.dmovies.top/hls2/03/00000/5iz6c1elaqgq_,h,x,.urlset/master.m3u8?t=59WQnICkdOsWf2RrsiNPQmXTU1CUk7gGqBgLvh-MaIU&s=1761923136&e=43200&v=22226828&srv=maxcdn&i=0.3&sp=5000&fr=5iz6c1elaqgq",
},
]