mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
disable browser streaming links for RD
This commit is contained in:
@@ -288,10 +288,10 @@ async function _unrestrictFileLink(RD, fileLink, torrent, fileIndex, isBrowser)
|
|||||||
if (isArchive(response.download)) {
|
if (isArchive(response.download)) {
|
||||||
return StaticResponse.FAILED_RAR;
|
return StaticResponse.FAILED_RAR;
|
||||||
}
|
}
|
||||||
if (isBrowser && response.streamable) {
|
// if (isBrowser && response.streamable) {
|
||||||
return RD.streaming.transcode(response.id)
|
// return RD.streaming.transcode(response.id)
|
||||||
.then(streamResponse => streamResponse.apple.full)
|
// .then(streamResponse => streamResponse.apple.full)
|
||||||
}
|
// }
|
||||||
return response.download;
|
return response.download;
|
||||||
})
|
})
|
||||||
.then(unrestrictedLink => {
|
.then(unrestrictedLink => {
|
||||||
|
|||||||
Reference in New Issue
Block a user