mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
Fix mangareader
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -186,6 +186,11 @@ getChapterUrl(MangaModel manga) async {
|
|||||||
if (res.isEmpty) {
|
if (res.isEmpty) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
if (manga.source == "Sushi-Scans") {
|
||||||
|
final pages = MBridge.xpath(res, '//*[@id="readerarea"]/p/img/@src', "._._")
|
||||||
|
.split("._._");
|
||||||
|
return pages;
|
||||||
|
}
|
||||||
List<String> pagesUrl = [];
|
List<String> pagesUrl = [];
|
||||||
final pages = MBridge.xpath(res, '//*[@id="readerarea"]/img/@src', "._._")
|
final pages = MBridge.xpath(res, '//*[@id="readerarea"]/img/@src', "._._")
|
||||||
.split("._._");
|
.split("._._");
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import '../../../model/source.dart';
|
import '../../../model/source.dart';
|
||||||
import '../../../utils/utils.dart';
|
import '../../../utils/utils.dart';
|
||||||
|
|
||||||
const mangareaderVersion = "0.0.19";
|
const mangareaderVersion = "0.0.20";
|
||||||
const mangareaderSourceCodeUrl =
|
const mangareaderSourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mangareader/mangareader-v$mangareaderVersion.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mangareader/mangareader-v$mangareaderVersion.dart";
|
||||||
const defaultDateFormat = "MMMM dd, yyyy";
|
const defaultDateFormat = "MMMM dd, yyyy";
|
||||||
|
|||||||
Reference in New Issue
Block a user