Fixed Aylo specifying wrong host for media.

This commit is contained in:
DebaucheryLibrarian
2026-03-10 05:54:00 +01:00
parent bff665c6ec
commit 155e235246
2 changed files with 1 additions and 1 deletions

View File

@@ -647,6 +647,7 @@ async function fetchHttpSource(source, tempFileTarget, hashStream) {
const res = await http.get(source.src, {
limits: 'media',
headers: {
host: new URL(source.src).hostname,
...(source.referer && { referer: source.referer }),
...(source.host && { host: source.host }),
},

View File

@@ -148,7 +148,6 @@ function scrapeRelease(data, url, channel, networkName, options) {
[release.poster, ...release.photos] = getThumbs(data).map((src) => ({
src,
referer: url,
host: 'mediavault-private-fl.project1content.com',
}));
const { teaser, trailer } = getVideos(data);