mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-22 06:40:30 +00:00
fixes
This commit is contained in:
@@ -10,6 +10,6 @@ Source _mangairoSource = Source(
|
||||
typeSource: "mangabox",
|
||||
iconUrl:
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/multisrc/mangabox/src/mangairo/icon.png",
|
||||
dateFormat: "dd-MM-yyyy",
|
||||
dateFormat: "MMM-dd-yy",
|
||||
dateFormatLocale: "en",
|
||||
);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB |
@@ -1,13 +0,0 @@
|
||||
import '../../../../../../model/source.dart';
|
||||
|
||||
Source get sushiscanfrSource => _sushiscanfrSource;
|
||||
Source _sushiscanfrSource = Source(
|
||||
name: "Sushiscan.fr",
|
||||
baseUrl: "https://sushiscan.fr",
|
||||
lang: "fr",
|
||||
isNsfw:false,
|
||||
typeSource: "mangareader",
|
||||
iconUrl: "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/multisrc/mangareader/src/sushiscanfr/icon.png",
|
||||
dateFormat:"MMMM d, yyyy",
|
||||
dateFormatLocale:"fr"
|
||||
);
|
||||
@@ -7,7 +7,7 @@ const mangayomiSources = [{
|
||||
"typeSource": "single",
|
||||
"isManga": false,
|
||||
"isNsfw": false,
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.15",
|
||||
"dateFormat": "",
|
||||
"dateFormatLocale": "",
|
||||
"pkgPath": "anime/src/de/aniworld.js"
|
||||
@@ -132,6 +132,7 @@ class DefaultExtension extends MProvider {
|
||||
const hosterSelection = preference.get("hoster_selection");
|
||||
const videos = [];
|
||||
for (const element of redirectlink) {
|
||||
try {
|
||||
const langkey = element.attr("data-lang-key");
|
||||
let language = "";
|
||||
if (langkey.includes("3")) {
|
||||
@@ -143,6 +144,7 @@ class DefaultExtension extends MProvider {
|
||||
}
|
||||
const redirectgs = baseUrl + element.selectFirst("a.watchEpisode").attr("href");
|
||||
const hoster = element.selectFirst("a h4").text;
|
||||
|
||||
if (hoster == "Streamtape" && hosterSelection.includes("Streamtape")) {
|
||||
const body = (await new Client().get(redirectgs)).body;
|
||||
const quality = `Streamtape ${language}`;
|
||||
@@ -165,6 +167,9 @@ class DefaultExtension extends MProvider {
|
||||
videos.push({ url: match[0], originalUrl: match[0], quality });
|
||||
}
|
||||
}
|
||||
} catch (_) {
|
||||
|
||||
}
|
||||
}
|
||||
return this.sortVideos(videos);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ const mangayomiSources = [{
|
||||
"typeSource": "single",
|
||||
"isManga": false,
|
||||
"isNsfw": false,
|
||||
"version": "0.0.15",
|
||||
"version": "0.0.2",
|
||||
"dateFormat": "",
|
||||
"dateFormatLocale": "",
|
||||
"pkgPath": "anime/src/en/allanime.js"
|
||||
@@ -371,6 +371,7 @@ class AllAnimeExtractor {
|
||||
}
|
||||
const linkJson = JSON.parse(resp.body);
|
||||
for (const link of linkJson.links) {
|
||||
try {
|
||||
const subtitles = [];
|
||||
if (link.subtitles && link.subtitles.length > 0) {
|
||||
subtitles.push(...link.subtitles.map(sub => {
|
||||
@@ -474,6 +475,9 @@ class AllAnimeExtractor {
|
||||
videoList.push(...videos);
|
||||
}
|
||||
}
|
||||
} catch (_) {
|
||||
|
||||
}
|
||||
}
|
||||
return videoList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user