Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

92
Views
Download video from crunchyroll after new updates

First of all, hello everyone.

I need to archive videos on Crunchyroll for a project, but no matter how much I reverse engineer, I can't find the main source file.

First of all, i have Blob sourced player like that.

<video id="player0" playsinline="" src="blob:https://static.crunchyroll.com/3740...db01b2" style="display: flex; width: 100%; height: 100%;"></video>

The first problem starts with the fact that the video is streamed instead of being sent directly. So this solution doesn't work for this case.

<a href="blob:https://static.crunchyroll.com/3740...db01b2" download>Download</a>

After that I realized that Crunchyroll has developed even stronger protection than YouTube because on YouTube I could get the source video by playing with the range parameter.

Then I tried to pull the content with javascript, but I still couldn't get a result.

var xhr = new XMLHttpRequest;
xhr.responseType = 'blob';
xhr.onload = function () {
    var recoveredBlob = xhr.response;
    var reader = new FileReader;
    reader.onload = function () {
        var BlobAsDataURL = reader.result;
        window.location = BlobAsDataURL;
    }
    reader.readAsDataURL(recoveredBlob);
}
xhr.open('GET', 'blob:https://static.crunchyroll.com/893...2960');
xhr.send();

When I try to use it, I get either the Cross-Origin error or the file not available error when I try it on the Crunchyroll page.

Then I thought of trying to stream it via VLC player. But when I came to the Network tab, I saw that the broadcast was made in an extremely complex way, not in m3u8 format, so it rotted without trying.

Does anyone know what I can do?

7 months ago ยท Santiago Gelvez
Answer question
Find remote jobs