-
-
Notifications
You must be signed in to change notification settings - Fork 211
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Anime episodes Streaming links #83
Comments
Give us some time, we are working to resolve this issue. |
Ok take your time no problem 🤝 |
me too, just trying to apply your API yesterday and it seems work, just in few hours and i cant access the video also. so its the encryption to the video sources got changed |
Duplicate of #82 |
Same issue here! |
+1 What part of the application is failing? Is it the webscraper? |
The application isn't failing, it's just that the |
@ghoshRitesh12 it is fixable right? |
{ Current response on api url /api/v2/hianime/episode/sources?animeEpisodeId=steinsgate-3?ep=230&server=hd-1&category=dub |
Strange... I did not update my project to the latest version of this repo, but it broke inside my project. Could it be that HiAnime is tackeling webscrapers to prevent external users to use their database of videos? |
@bindothorpe the thing is hianime uses megacloud.tv servers to store their videos. Now this video hosting provider has changed their mechanism of encrypting and decrypting data. That's why the project broke without having a version bump. |
That makes sense. I wish you all the luck you need to find a solution! I will be checking this repo every couple days to check for further updates! Love the work you have done. |
@ghoshRitesh12 can i have your discord? |
username: riteshgsh |
@ghoshRitesh12 Here is some useful information (in my opinion) about the changes from an issue on the Consumet library/API. |
@ghoshRitesh12 bro they are actually getting data with the new getSources url & parameters earlier I told you about... const C4 = (C6, C7) => {
var C8;
var C9 = window.browser_version;
const CC = window.localStorage && window.localStorage.getItem("kversion") || C9;
var CX = window.localStorage && window.localStorage.getItem("kid") || "";
if (window.pid == null) {
console.log("=> pid null");
} else {
var CN = D(window);
var CX = "/embed-2/ajax/e-1/getSources?id=" + window.pid + "&v=" + CC + "&h=" + CX + "&b=" + C9;
const Cl = {
sources: [],
tracks: []
};
$.get(CX, function (CO) {
var CB;
if (b(CO.sources)) {
Cl.sources = CO.sources;
} else {
C8 = y(CC);
CB = CO.t != 0 ? (p(CN, C8), CN) : (CB = CO.k, p(CB, C8), CB);
CB = btoa(String.fromCharCode.apply(null, new Uint8Array(CB)));
Cl.sources = G(CO.sources, CB);
}
Cl.tracks = CO.tracks;
C7(Cl);
});
}
}; Ig this will help too... |
Yeah, I guess this will help. Thanks a lot. |
I hope this will help: |
Good luck guys! |
Yep Good luck guys , hope you can fix this |
any update? |
I was testing the source url extraction using puppeteer and although it works, wouldn't be a viable option for production. |
https://beautifier.io/ |
Could hianime have changed the structure like expected elements etc |
Or maybe I'm wrong ? |
I don't think so |
So I'm not wrong then am i ? |
same as mine. |
@ghoshRitesh12 try as a user, download your own repo from github then run npm install and npm start through cmd see if it gives success respond on your end. i am getting no output on localhost but on terminal it shows success. |
it's working perfectly now. Thank you! |
Please check with several other animeEpisodeIds' and lemme know |
on it... |
thanks @ghoshRitesh12 it works perfectly fine |
@ghoshRitesh12 Its working on every animeId And EpisodeId |
Thank you so much @ghoshRitesh12 and all others who contributed and worked overnight to bring back our beloved aniwatch-scraper. We should sponsor/donate to the owner of this repo as appreciation for his hard work. |
i agree |
this api needs to keep running in order to feed the hungry wolves |
It's working perfectly now. Thank you! |
sup guys, has anyone deployed on vercel ? |
Yep |
Hey guys, I was thinking of converting this issue to a discussion, mainly due to the number of participants and the open source community energy I get from this issue. |
That would be great |
That would be fun.. |
That would be great and now can someone help me find the new solo leveling movie..? |
l guess its my account on vercel with the prob, i'll use render no prob |
after updating your branch Just redeploy it manually; this will fix the issue. |
worked thanks |
Converting this issue into a discussion, feel free to continue with the discussions. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
API response don't have any streaming source
Expected behavior
{
success: true,
data: {
headers: {
Referer: string,
"User-Agent": string,
...
},
sources: [
{
url: string, // .m3u8 hls streaming file
isM3U8: boolean,
quality?: string,
},
{...}
],
subtitles: [
{
lang: "English",
url: string, // .vtt subtitle file
},
{...}
],
anilistID: number | null,
malID: number | null
}
}
Actual behavior
{
"success": true,
"results": {
"streamingLink": [
{
"id": "578153",
"type": "dub",
"link": [],
"tracks": [],
"server": "HD-1"
},
{
"id": "52961",
"type": "dub",
"link": [],
"tracks": [],
"server": "HD-2"
},
Additional context
No response
The text was updated successfully, but these errors were encountered: