Closed alzamer2 closed 4 years ago
Updated the CLI today to work with changes made to the website & their API. I do not want to rely on having to crawl the website since things might break pretty easily when they make changes to the site
However, they have seemingly changed how they encode the subtitles since the codebase doesn't seem to be able to decode subtitles anymore. For now I've changed the code to crawl the episode page and grab the subtitle data from vilos.config.media, as the subtitle files provided there are in plaintext.
hi long time no see
while i was fixing my code i checked out the resent page of Crunchyroll it seem they no longer use complex way to get data of the episode or more like they added it to the php code of the page so when the html page load up it contains them directly if you looked for "vilos.config.media = " in the source code of the html page you will get dict that contains:
no idea why did they do that, maybe its only temp change or mabe they dont care or even maybe they wanted to reduce the memery and time for vido to load
hope this info will be helpfull