mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-20 16:02:14 +00:00
Merge pull request #874 from stratumadev/master
Updated Crunchyroll playback url from v1 to v2
This commit is contained in:
commit
10b23752e4
1 changed files with 1 additions and 1 deletions
|
|
@ -1428,7 +1428,7 @@ export default class Crunchy implements ServiceClass {
|
|||
|
||||
let playStream: CrunchyPlayStream | null = null;
|
||||
if (options.cstream !== 'none') {
|
||||
const playbackReq = await this.req.getData(`https://cr-play-service.prd.crunchyrollsvc.com/v1/${currentVersion ? currentVersion.guid : currentMediaId}/${CrunchyPlayStreams[options.cstream]}/play`, AuthHeaders);
|
||||
const playbackReq = await this.req.getData(`https://cr-play-service.prd.crunchyrollsvc.com/v2/${currentVersion ? currentVersion.guid : currentMediaId}/${CrunchyPlayStreams[options.cstream]}/play`, AuthHeaders);
|
||||
if (!playbackReq.ok || !playbackReq.res) {
|
||||
console.error('Request Stream URLs FAILED!');
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue