mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-05-12 12:50:40 +00:00
crunchyroll fix
This commit is contained in:
parent
bc1038e3e1
commit
c45b4088ea
2 changed files with 2 additions and 2 deletions
|
|
@ -1696,7 +1696,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
}
|
||||
|
||||
const videoPlaybackReq = await this.req.getData(`https://www.crunchyroll.com/playback/v3/${currentVersion ? currentVersion.guid : currentMediaId}/${CrunchyVideoPlayStreams['androidtv']}/play?queue=1`, AuthHeaders);
|
||||
const videoPlaybackReq = await this.req.getData(`https://www.crunchyroll.com/playback/v3/${currentVersion ? currentVersion.guid : currentMediaId}/${CrunchyVideoPlayStreams['androidtv']}/play?queue=0`, AuthHeaders);
|
||||
if (!videoPlaybackReq.ok || !videoPlaybackReq.res) {
|
||||
console.warn('Request Video Stream URLs FAILED!');
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const api: APIType = {
|
|||
cms_auth: `${domain.cr_www}/index/v2`,
|
||||
//
|
||||
// Crunchyroll Headers
|
||||
crunchyDefUserAgent: 'Crunchyroll/ANDROIDTV/3.45.1_22273 (Android 16; en-US; sdk_gphone64_x86_64)',
|
||||
crunchyDefUserAgent: 'Crunchyroll/ANDROIDTV/3.45.2_22274 (Android 12; en-US; SHIELD Android TV Build/SR1A.211012.001)',
|
||||
crunchyDefHeader: {},
|
||||
crunchyAuthHeader: {},
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue