Update anime/anicrush/source.js
This commit is contained in:
@@ -258,8 +258,7 @@ class AniCrush {
|
|||||||
`${this.apiBase}/shared/v2/episode/sources?_movieId=${encodeURIComponent(id)}` +
|
`${this.apiBase}/shared/v2/episode/sources?_movieId=${encodeURIComponent(id)}` +
|
||||||
`&ep=${encodeURIComponent(String(num))}&sv=${encodeURIComponent(String(sv))}&sc=${encodeURIComponent(subOrDub)}`;
|
`&ep=${encodeURIComponent(String(num))}&sv=${encodeURIComponent(String(sv))}&sc=${encodeURIComponent(subOrDub)}`;
|
||||||
|
|
||||||
// ✅ LOG: confirm SUB/DUB + final API URL used
|
try { Native.log("AniCrush", "findEpisodeServer: sc=" + subOrDub + " movieId=" + id + " ep=" + num + " sv=" + sv + " url=" + linkUrl); } catch (e) {}
|
||||||
try { Native.log("AniCrush", `findEpisodeServer: sc=${subOrDub} movieId=${id} ep=${num} sv=${sv} url=${linkUrl}`); } catch (e) {}
|
|
||||||
|
|
||||||
const json = this._getJson(linkUrl, this._headers());
|
const json = this._getJson(linkUrl, this._headers());
|
||||||
const encryptedIframe = (((json || {}).result || {}).link) ? String(json.result.link) : "";
|
const encryptedIframe = (((json || {}).result || {}).link) ? String(json.result.link) : "";
|
||||||
|
|||||||
Reference in New Issue
Block a user