Skip to content

yanchespenda/manga-scraper-api

Repository files navigation

Manga Scraper API

Scraping image files from manga website, Based on Poketo style

Supported Sites

Global

Indonesia

ENV Required

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=

API Endpoint

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

Response API

// /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)
}