destruc7i0n / nani

Crunchyroll without the bloat
https://nani.ninja
MIT License
71 stars 10 forks source link

Can't play some videos #29

Closed DarkstaIkers closed 4 years ago

DarkstaIkers commented 4 years ago

When CR gives the url pl.crunchyroll.com videos can't be played, it's like it has a CORS in this url.

destruc7i0n commented 4 years ago

Can you provide some such links?

DarkstaIkers commented 4 years ago

Yes, I do. This one https://nani.ninja/series/246948/796445

destruc7i0n commented 4 years ago

Hmm you're right, they do seem to be adding CORS to their URLs sometimes. After reloading a couple of times I was able to get a non CORS url, though. Seems to be a slow release for this so I'll need to look into solutions for how to get around. Probably a chrome extension or the like.

destruc7i0n commented 4 years ago

I pushed a small fix for now which uses a proxy to bypass the pl.crunchyroll.com request, since that is the only one which seems to have CORS enabled. Hopefully this should be enough for now.

py7hon commented 4 years ago

I pushed a small fix for now which uses a proxy to bypass the pl.crunchyroll.com request, since that is the only one which seems to have CORS enabled. Hopefully this should be enough for now.

have you tried replacing pl.crunchyroll.com with dl.v.vrv.co and a-vrv.akamaized.net for bypassing CORS

destruc7i0n commented 4 years ago

Oh hmm they now seem to be blocking just about every request with CORS, future doesn't look too good for this project now. Not sure how many would want to download a client or use a plugin

destruc7i0n commented 4 years ago

Seems like it is possible to easily proxy the deeper playlist CORS requests, fixed now!