mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 19:01:15 +00:00
covers
This commit is contained in:
@@ -162,7 +162,7 @@ class MangaDex extends MProvider {
|
|||||||
final coverUrl = jsonPathToString(
|
final coverUrl = jsonPathToString(
|
||||||
res, r'$..data.relationships[*].attributes.fileName', '');
|
res, r'$..data.relationships[*].attributes.fileName', '');
|
||||||
if (coverUrl != null) {
|
if (coverUrl != null) {
|
||||||
manga.imageUrl = "https://uploads.mangadex.org/covers/${url.replaceAll("/manga/", "")}/${coverUrl}.256.jpg";
|
manga.imageUrl = "https://uploads.mangadex.org/covers/${url.replaceAll("/manga/", "")}/${coverUrl}";
|
||||||
}
|
}
|
||||||
manga.author = jsonPathToString(
|
manga.author = jsonPathToString(
|
||||||
res, r'$..data.relationships[*].attributes.name', ', ');
|
res, r'$..data.relationships[*].attributes.name', ', ');
|
||||||
|
|||||||
Reference in New Issue
Block a user