Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoro: can't fetch episode for server type "raw" #621

Open
shibotto opened this issue Dec 9, 2024 · 0 comments
Open

Zoro: can't fetch episode for server type "raw" #621

shibotto opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shibotto
Copy link

shibotto commented Dec 9, 2024

Describe the bug

It seems that Zoro also has the type "raw" other than "sub" and "dub".

Steps to reproduce

The episode in question: https://hianime.to/watch/as-a-reincarnated-aristocrat-ill-use-my-appraisal-skill-to-rise-in-the-world-season-2-19329?ep=129609

$ curl -s https://hianime.to/ajax/v2/episode/servers?episodeId=129609
{"status":true,"html":"<div class=\"ps_-status\">\n    <div class=\"content\">\n        <div class=\"server-notice\">\n            \n                <strong>You are watching <b>Episode 10</b></strong>\n            \n            If current server doesn't work please try other servers beside.\n        </div>\n    </div>\n</div>\n\n    <div class=\"ps_-block ps_-block-sub servers-raw\">\n        \n        \n        \n            <div class=\"ps__-title\"><i class=\"fas fa-file mr-2\"></i>RAW:</div>\n        \n        \n        <div class=\"ps__-list\">\n            \n                <div class=\"item server-item\" data-type=\"raw\" data-id=\"1132696\"\n                     data-server-id=\"4\">\n                    <a href=\"javascript:;\" class=\"btn\">HD-1</a>\n                </div>\n            \n        </div>\n        <div class=\"clearfix\"></div>\n        \n    </div>\n\n"}

The div class is "server-raw", which is new to me, but the data-server-id is 4, so the well known VidStreaming. Adding "raw" to subOrDub may be enough, although I know nothing about TypeScript and I can't test it.

Expected behavior

Get the episode stream and subtitles.

Actual behavior

$ curl -s 'https://<REDACTED>/anime/zoro/watch/as-a-reincarnated-aristocrat-ill-use-my-appraisal-skill-to-rise-in-the-world-season-2-19329$episode$129609$sub' # or dub/both, same result
{"message":{}}

Additional context

No response

@shibotto shibotto added the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant