chore(extractor): cache Dropload for 3h
This commit is contained in:
parent
7ac71837b3
commit
ccf8006f13
2 changed files with 4 additions and 2 deletions
|
|
@ -10,6 +10,8 @@ export class Dropload extends Extractor {
|
|||
|
||||
public readonly label = 'Dropload';
|
||||
|
||||
public override readonly ttl: number = 10800000; // 3h
|
||||
|
||||
public supports(_ctx: Context, url: URL): boolean {
|
||||
return null !== url.host.match(/dropload/);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ exports[`Dropload download URL 1`] = `
|
|||
"title": "[~Squid~Game~EnG~]~S03E01~720p~WebRip ~❤️GLD❤️~",
|
||||
},
|
||||
"sourceId": "dropload_en",
|
||||
"ttl": 900000,
|
||||
"ttl": 10800000,
|
||||
"url": "https://srv29.dropload.io/hls2/01/00305/xhcmgcc2txnv_h/master.m3u8?t=MBKiIoVlA42YcZEixT7ZR1xJA5qKhcKgBi84GPmyT7U&s=1752613129&e=14400&f=1526758&i=0.0&sp=0&ii=130.61.236.204",
|
||||
},
|
||||
]
|
||||
|
|
@ -34,7 +34,7 @@ exports[`Dropload dropload.io 1`] = `
|
|||
"title": "des-teufels-bad-2024",
|
||||
},
|
||||
"sourceId": "dropload_de",
|
||||
"ttl": 900000,
|
||||
"ttl": 10800000,
|
||||
"url": "https://srv34.dropload.io/hls2/01/00197/lyo2h1snpe5c_h/master.m3u8?t=ESjD9Le53ttKN2JPyxrhLUqTebDZvx3vcQUlNgP6Vko&s=1749845553&e=14400&f=987607&srv=srv27&i=0.0&sp=0&ii=50.99.15.93&p1=srv27&p2=srv27",
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue