umi icon indicating copy to clipboard operation
umi copied to clipboard

Fix pl.crunchyroll.com issue again

Open ariankordi opened this issue 4 years ago • 3 comments

This fixes #40 and #30 with how Crunchyroll is changing playlist URLs again. Previously they made pl.crunchyroll.com have playlists containing URLs to other domains without CORS so that using a simple proxy would work, but now they have these URLs inside of the playlists too, so it started breaking again because the playlists themselves weren't modified.

This commit will replace pl.crunchyroll.com URLs in HLS.js, so that it's replaced in playlists after they've been properly parsed.

ariankordi avatar Oct 03 '20 18:10 ariankordi

Im still having the problem. I dont know what to do to add the domain pl.crunchyroll.com to not be blocked. Cant the addon https://addons.mozilla.org/en-US/firefox/addon/umi-enabler/ be updated?

LeoAlvesBahia avatar Dec 03 '20 14:12 LeoAlvesBahia

Im still having the problem. I dont know what to do to add the domain pl.crunchyroll.com to not be blocked. Cant the addon https://addons.mozilla.org/en-US/firefox/addon/umi-enabler/ be updated?

Are you using umi.party or the Netlify preview of my changes? here https://deploy-preview-42--psychologist-constance-25647.netlify.app/ My changes haven't actually been merged so umi.party doesn't have my fix but the preview I linked does.

The point of my fix and Zach's attempted fix at #31 is that, the site implements a proxy that the video page is supposed to use, instead of accessing pl.crunchyroll.com directly. If you get any CORS errors from pl.crunchyroll.com, then it isn't working. As far as I know, Zach's fix stopped working a while ago and my changes are just a simple hotfix to make it work again. That's all. Please let me know if it still doesn't work for you, thanks.

ariankordi avatar Dec 03 '20 17:12 ariankordi

I was using umi.party Thanks for the link to Netlify, it is working! Hoping that the extension come to working soon. Thank you so much!!

LeoAlvesBahia avatar Dec 04 '20 00:12 LeoAlvesBahia