fix(extractor): add referer as proxy header for Dropload

This commit is contained in:
WebStreamr 2026-03-02 10:26:23 +00:00
parent 8ea6d4fe37
commit bbb80f3cf0
No known key found for this signature in database
3 changed files with 30 additions and 0 deletions

View file

@ -50,6 +50,7 @@ export class Dropload extends Extractor {
...(size && { bytes: size }),
...(height && { height }),
},
requestHeaders: { Referer: url.origin },
},
];
};

View file

@ -11,6 +11,9 @@ exports[`Dropload download URL 1`] = `
"height": 720,
"title": "[~Squid~Game~EnG~]~S03E01~720p~WebRip ~❤GLD❤~",
},
"requestHeaders": {
"Referer": "https://dropload.io",
},
"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",
},
@ -27,6 +30,9 @@ exports[`Dropload dropload unknown height and size 1`] = `
"height": 800,
"title": "The Lost Bus 2025 1080p WEBRip x265",
},
"requestHeaders": {
"Referer": "https://dropload.io",
},
"ttl": 10800000,
"url": "https://ds16.dropcdn.io/hls2/02/00314/gf2apij3ql37_h/master.m3u8?t=jq0VCV2dOyLIIH07IGIpzruCXvbfdVqzGLWfMeo00AM&s=1759845990&e=14400&f=1571895&srv=ds3&i=0.0&sp=0&ii=2.184.0.222&p1=ds3&p2=ds3",
},
@ -44,6 +50,9 @@ exports[`Dropload dropload.io 1`] = `
"height": 1080,
"title": "des-teufels-bad-2024",
},
"requestHeaders": {
"Referer": "https://dropload.io",
},
"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",
},

View file

@ -234,6 +234,11 @@ exports[`resolve returns sorted results 1`] = `
"behaviorHints": {
"bingeGroup": "webstreamr-meinecloud-dropload-de",
"notWebReady": true,
"proxyHeaders": {
"request": {
"Referer": "https://dropload.io",
},
},
"videoSize": 1395864371,
},
"name": "WebStreamr 🇩🇪 1080p",
@ -245,6 +250,11 @@ exports[`resolve returns sorted results 1`] = `
"behaviorHints": {
"bingeGroup": "webstreamr-mostraguarda-dropload-it",
"notWebReady": true,
"proxyHeaders": {
"request": {
"Referer": "https://dropload.io",
},
},
"videoSize": 1181116006,
},
"name": "WebStreamr 🇮🇹 720p",
@ -283,6 +293,11 @@ exports[`resolve returns sorted results 2`] = `
"behaviorHints": {
"bingeGroup": "webstreamr-meinecloud-dropload-de",
"notWebReady": true,
"proxyHeaders": {
"request": {
"Referer": "https://dropload.io",
},
},
"videoSize": 1395864371,
},
"name": "WebStreamr 🇩🇪 1080p",
@ -294,6 +309,11 @@ exports[`resolve returns sorted results 2`] = `
"behaviorHints": {
"bingeGroup": "webstreamr-mostraguarda-dropload-it",
"notWebReady": true,
"proxyHeaders": {
"request": {
"Referer": "https://dropload.io",
},
},
"videoSize": 1181116006,
},
"name": "WebStreamr 🇮🇹 720p",