mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 19:01:15 +00:00
fix netflixmirror
This commit is contained in:
committed by
GitHub
parent
012b801cc6
commit
2bf6bfb2b1
@@ -6,7 +6,7 @@ const mangayomiSources = [{
|
|||||||
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/all.netflixmirror.png",
|
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/all.netflixmirror.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"isManga": false,
|
||||||
"version": "0.0.55",
|
"version": "0.0.6",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
"dateFormatLocale": "",
|
"dateFormatLocale": "",
|
||||||
"pkgPath": "anime/src/all/netflixmirror.js"
|
"pkgPath": "anime/src/all/netflixmirror.js"
|
||||||
@@ -22,8 +22,10 @@ class DefaultExtension extends MProvider {
|
|||||||
if (elements && elements.length > 0) {
|
if (elements && elements.length > 0) {
|
||||||
return cookie;
|
return cookie;
|
||||||
}
|
}
|
||||||
const addhash = new Document((await new Client().get(`${this.source.baseUrl}/home`, { "cookie": "" })).body).selectFirst("body").attr("data-addhash");
|
const hDoc = new Document((await new Client().get(`${this.source.baseUrl}/home`, { "cookie": "" })).body);
|
||||||
await new Client().get(`https://userverify.netmirror.app/verify?vhfd=${addhash}&a=y`);
|
const addhash = hDoc.selectFirst("body").attr("data-addhash");
|
||||||
|
const time = hDoc.selectFirst("body").attr("data-time");
|
||||||
|
await new Client().get(`https://userverify.netmirror.app/?fr3=${addhash}&a=y&t=${time}`);
|
||||||
let body;
|
let body;
|
||||||
let res;
|
let res;
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user