An image scraper API for an Indonesian manga sites
Scraping image files from manga website, Based on Poketo style
For using s3 driver to upload pdf files, you need some env to make it well
S3_KEY=
S3_ENDPOINT=
S3_SECRET=
S3_BUCKET=
S3_REGION=
For saving list data to mongodb database
MONGO_URI=
https://manga-scraper-api.herokuapp.com/api/manga
Parameters | Type | Description |
---|---|---|
url | string | Full url site |
proxy? | boolean | Serve all image with proxy |
https://manga-scraper-api.herokuapp.com/api/download
Scraping image and generate pdf
Parameters | Type | Description |
---|---|---|
url | string | Full url site |
https://manga-scraper-api.herokuapp.com/api/proxy
Proxy image with converting to webp image
Parameters | Type | Description |
---|---|---|
mangaId | string | Manga Id |
pageId | string | Image Id |
// /api/manga
{
error: (true|false),
message: (string),
data: {
id: (string)[siteId + mangaId + chapterId],
url: (string),
pages: [
{
id: (string),
url: (string)
}
...
]
}
}
// /api/download
{
error: (true|false),
message: (string),
data: (string)
}