mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 19:01:15 +00:00
+
This commit is contained in:
@@ -327,7 +327,7 @@ class MangaDex extends MProvider {
|
|||||||
Future<String> paginatedChapterListRequest(
|
Future<String> paginatedChapterListRequest(
|
||||||
String mangaId, int offset, String lang, int sourceId) async {
|
String mangaId, int offset, String lang, int sourceId) async {
|
||||||
final url =
|
final url =
|
||||||
'https://api.mangadex.org/manga/$mangaId/feed?limit=500&offset=$offset&includes[]=user&includes[]=scanlation_group&order[volume]=desc&order[chapter]=desc&translatedLanguage[]=$lang&includeFuturePublishAt=0&includeEmptyPages=0${preferenceContentRating(sourceId)}';
|
'https://api.mangadex.org/manga/$mangaId/feed?limit=500&offset=$offset&includes[]=user&includes[]=scanlation_group&order[volume]=desc&order[chapter]=desc&translatedLanguage[]=$lang&includeFuturePublishAt=0&includeEmptyPages=0&contentRating[]=safe&contentRating[]=suggestive';
|
||||||
final res = (await client.get(Uri.parse(url), headers: headers)).body;
|
final res = (await client.get(Uri.parse(url), headers: headers)).body;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import '../../../../../model/source.dart';
|
|||||||
const _apiUrl = 'https://api.mangadex.org';
|
const _apiUrl = 'https://api.mangadex.org';
|
||||||
const _baseUrl = 'https://mangadex.org';
|
const _baseUrl = 'https://mangadex.org';
|
||||||
const _isNsfw = true;
|
const _isNsfw = true;
|
||||||
const _mangadexVersion = "0.0.85";
|
const _mangadexVersion = "0.0.9";
|
||||||
const _mangadexSourceCodeUrl =
|
const _mangadexSourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/all/mangadex/mangadex.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/all/mangadex/mangadex.dart";
|
||||||
String _iconUrl =
|
String _iconUrl =
|
||||||
|
|||||||
Reference in New Issue
Block a user