This commit is contained in:
kodjomoustapha
2024-09-22 00:51:13 +01:00
parent f1a99fc615
commit fbc5f755b1
2 changed files with 2 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ class MangaDex extends MProvider {
Future<String> paginatedChapterListRequest(
String mangaId, int offset, String lang, int sourceId) async {
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;
return res;
}