mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
Update
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
import 'package:mangayomi/bridge_lib.dart';
|
import 'package:mangayomi/bridge_lib.dart';
|
||||||
import 'dart:convert';
|
|
||||||
|
|
||||||
class MangaBox extends MProvider {
|
class MangaBox extends MProvider {
|
||||||
MangaBox();
|
MangaBox();
|
||||||
|
|
||||||
@@ -137,9 +135,6 @@ class MangaBox extends MProvider {
|
|||||||
}
|
}
|
||||||
final alternative = xpath(res,
|
final alternative = xpath(res,
|
||||||
'//*[@class="table-label" and contains(text(), "Alternative")]/parent::tr/td[2]/text()');
|
'//*[@class="table-label" and contains(text(), "Alternative")]/parent::tr/td[2]/text()');
|
||||||
if (author.isNotEmpty) {
|
|
||||||
manga.author = author.first;
|
|
||||||
}
|
|
||||||
|
|
||||||
List<String> description =
|
List<String> description =
|
||||||
xpath(res, '//*[@id="panel-story-info-description" ]/text()');
|
xpath(res, '//*[@id="panel-story-info-description" ]/text()');
|
||||||
@@ -147,7 +142,9 @@ class MangaBox extends MProvider {
|
|||||||
description = xpath(res, '//*[@id="story_discription" ]/text()');
|
description = xpath(res, '//*[@id="story_discription" ]/text()');
|
||||||
}
|
}
|
||||||
if (description.isNotEmpty) {
|
if (description.isNotEmpty) {
|
||||||
manga.description = description.first.replaceAll("\n", ' ');
|
manga.description = description.first
|
||||||
|
.replaceAll("\n", ' ')
|
||||||
|
.replaceAll("Description :", "");
|
||||||
if (alternative.isNotEmpty) {
|
if (alternative.isNotEmpty) {
|
||||||
manga.description =
|
manga.description =
|
||||||
"${manga.description}\n\nAlternative Name: ${alternative.first}";
|
"${manga.description}\n\nAlternative Name: ${alternative.first}";
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import 'src/mangairo/mangaeiro.dart';
|
|||||||
import 'src/mangakakalot/mangakakalot.dart';
|
import 'src/mangakakalot/mangakakalot.dart';
|
||||||
import 'src/manganato/manganato.dart';
|
import 'src/manganato/manganato.dart';
|
||||||
|
|
||||||
const mangaboxVersion = "0.0.2";
|
const mangaboxVersion = "0.0.25";
|
||||||
const mangaboxSourceCodeUrl =
|
const mangaboxSourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/multisrc/mangabox/mangabox.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/multisrc/mangabox/mangabox.dart";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user