mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-17 12:20:28 +00:00
Update aniworld.js
This commit is contained in:
@@ -149,7 +149,7 @@ class DefaultExtension extends MProvider {
|
|||||||
const type = (langkey == 1) ? 'Dub' : 'Sub';
|
const type = (langkey == 1) ? 'Dub' : 'Sub';
|
||||||
const host = element.selectFirst("a h4").text;
|
const host = element.selectFirst("a h4").text;
|
||||||
|
|
||||||
if (/*hostFilter.includes(host) && */langFilter.includes(`${lang} ${type}`)) {
|
if (hostFilter.includes(host) && langFilter.includes(`${lang} ${type}`)) {
|
||||||
const redirect = baseUrl + element.selectFirst("a.watchEpisode").attr("href");
|
const redirect = baseUrl + element.selectFirst("a.watchEpisode").attr("href");
|
||||||
promises.push((async (redirect, lang, type, host) => {
|
promises.push((async (redirect, lang, type, host) => {
|
||||||
const location = (await dartClient.get(redirect)).headers.location;
|
const location = (await dartClient.get(redirect)).headers.location;
|
||||||
|
|||||||
Reference in New Issue
Block a user