Update aniworld.js

This commit is contained in:
RndDev123
2024-11-29 09:58:02 +01:00
parent 9086d486bb
commit 4d75787237

View File

@@ -149,7 +149,7 @@ class DefaultExtension extends MProvider {
const type = (langkey == 1) ? 'Dub' : 'Sub';
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");
promises.push((async (redirect, lang, type, host) => {
const location = (await dartClient.get(redirect)).headers.location;