mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user