This commit is contained in:
kodjomoustapha
2024-11-05 11:16:35 +01:00
parent b174ead469
commit 8bdedff5a5

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": false, "isManga": false,
"isNsfw": false, "isNsfw": false,
"version": "0.0.2", "version": "0.0.25",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "anime/src/de/aniworld.js" "pkgPath": "anime/src/de/aniworld.js"
@@ -129,7 +129,7 @@ class DefaultExtension extends MProvider {
const document = new Document(res.body); const document = new Document(res.body);
const redirectlink = document.select("ul.row li"); const redirectlink = document.select("ul.row li");
const preference = new SharedPreferences(); const preference = new SharedPreferences();
const hosterSelection = preference.get("hoster_selection"); const hosterSelection = preference.get("hoster_selection_new");
const videos = []; const videos = [];
for (const element of redirectlink) { for (const element of redirectlink) {
try { try {
@@ -179,7 +179,7 @@ class DefaultExtension extends MProvider {
} }
sortVideos(videos) { sortVideos(videos) {
const preference = new SharedPreferences(); const preference = new SharedPreferences();
const hoster = preference.get("preferred_hoster"); const hoster = preference.get("preferred_hoster_new");
const subPreference = preference.get("preferred_lang"); const subPreference = preference.get("preferred_lang");
videos.sort((a, b) => { videos.sort((a, b) => {
let qualityMatchA = 0; let qualityMatchA = 0;