mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
add novel support
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import '../../../../model/source.dart';
|
||||
import 'src/beastscans/beastscans.dart';
|
||||
import 'src/lelmanga/lelmanga.dart';
|
||||
import 'src/asurascans/asurascans.dart';
|
||||
import 'src/komiklab/komiklab.dart';
|
||||
import 'src/azurescans/azurescans.dart';
|
||||
import 'src/cosmicscans/cosmicscans.dart';
|
||||
@@ -104,8 +103,6 @@ List<Source> _mangareaderSourcesList = [
|
||||
beastscansSource,
|
||||
//Lelmanga (FR)
|
||||
lelmangaSource,
|
||||
//Asura Scans (EN)
|
||||
asurascansSource,
|
||||
//KomikLab Scans (EN)
|
||||
komiklabSource,
|
||||
//Azure Scans (EN)
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import '../../../../../../model/source.dart';
|
||||
|
||||
Source get asurascansSource => _asurascansSource;
|
||||
|
||||
Source _asurascansSource = Source(
|
||||
name: "Asura Scans",
|
||||
baseUrl: "https://asuratoon.com/",
|
||||
lang: "en",
|
||||
typeSource: "mangareader",
|
||||
iconUrl:
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/multisrc/mangareader/src/asurascans/icon.png",
|
||||
dateFormat: "MMM d, yyyy",
|
||||
dateFormatLocale: "en_us",
|
||||
);
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -159,6 +159,11 @@ class MangaDex extends MProvider {
|
||||
headers: headers))
|
||||
.body;
|
||||
MManga manga = MManga();
|
||||
final coverUrl = jsonPathToString(
|
||||
res, r'$..data.relationships[*].attributes.fileName', '');
|
||||
if (coverUrl != null) {
|
||||
manga.imageUrl = "https://uploads.mangadex.org/covers/${url.replaceAll("/manga/", "")}/${coverUrl}";
|
||||
}
|
||||
manga.author = jsonPathToString(
|
||||
res, r'$..data.relationships[*].attributes.name', ', ');
|
||||
|
||||
@@ -382,8 +387,6 @@ class MangaDex extends MProvider {
|
||||
GroupFilter("ContentRatingList", "Content rating", [
|
||||
CheckBoxFilter("Safe", "contentRating[]=safe", state: true),
|
||||
CheckBoxFilter("Suggestive", "contentRating[]=suggestive", state: true),
|
||||
CheckBoxFilter("Erotica", "contentRating[]=erotica"),
|
||||
CheckBoxFilter("Pornographic", "contentRating[]=pornographic"),
|
||||
]),
|
||||
GroupFilter("DemographicList", "Publication demographic", [
|
||||
CheckBoxFilter("None", "publicationDemographic[]=none"),
|
||||
|
||||
@@ -3,7 +3,7 @@ import '../../../../../model/source.dart';
|
||||
const _apiUrl = 'https://api.mangadex.org';
|
||||
const _baseUrl = 'https://mangadex.org';
|
||||
const _isNsfw = true;
|
||||
const _mangadexVersion = "0.0.9";
|
||||
const _mangadexVersion = "0.1.1";
|
||||
const _mangadexSourceCodeUrl =
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/all/mangadex/mangadex.dart";
|
||||
String _iconUrl =
|
||||
|
||||
Reference in New Issue
Block a user