mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 17:15:37 +00:00
fix debrid meta links
This commit is contained in:
parent
615031271e
commit
5a3c85efb4
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ export async function getMochItemMeta(mochKey, itemId, config) {
|
||||||
.then(meta => {
|
.then(meta => {
|
||||||
meta.videos.forEach(video => video.streams.forEach(stream => {
|
meta.videos.forEach(video => video.streams.forEach(stream => {
|
||||||
if (!stream.url.startsWith('http')) {
|
if (!stream.url.startsWith('http')) {
|
||||||
stream.url = `${config.host}/${moch.key}/${stream.url}/${streamFilename(video)}`
|
stream.url = `${config.host}/resolve/${moch.key}/${stream.url}/${streamFilename(video)}`
|
||||||
}
|
}
|
||||||
stream.behaviorHints = { bingeGroup: itemId }
|
stream.behaviorHints = { bingeGroup: itemId }
|
||||||
}))
|
}))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue