Added:
- Messenger, Mercure - chapter download flow (lelscan only)
This commit is contained in:
@@ -24,8 +24,9 @@ readonly class MangadexProvider implements MetadataProviderInterface
|
||||
|
||||
$results = $this->client->get('/manga', [
|
||||
'title' => $title,
|
||||
'contentRating' => ['safe'],
|
||||
'includes' => ['cover_art', 'author']
|
||||
'contentRating' => ['safe', 'suggestive'],
|
||||
'includes' => ['cover_art', 'author'],
|
||||
'limit' => 25
|
||||
]);
|
||||
|
||||
$mangas = [];
|
||||
@@ -112,7 +113,8 @@ readonly class MangadexProvider implements MetadataProviderInterface
|
||||
return $manga;
|
||||
}
|
||||
|
||||
private function getFeedWithPagination(string $externalId, int $page){
|
||||
private function getFeedWithPagination(string $externalId, int $page): array
|
||||
{
|
||||
return $this->client->get('/manga/' . $externalId . '/feed', [
|
||||
'limit' => 500,
|
||||
'translatedLanguage' =>['en'],
|
||||
|
||||
Reference in New Issue
Block a user