MangaScrape is a tool designed to scrape various manga sources providing easy access to manga data and chapters.
npm i mangascrape
Here're some of the project's best features:
- Scrape mangas easily
- Fully typed
- Multiple sources
[x] MangaBuddy
[ ] Mangakakalot
[ ] Mangadex
MangaScrape is a tool designed to scrape various manga sources providing easy access to manga data and chapters.
npm i mangascrape
Here're some of the project's best features:
- Scrape mangas easily
- Fully typed
- Multiple sources
[x] MangaBuddy
[x] Mangakakalot
[ ] Mangadex
const { Batoto, MangaBuddy, Mangakakalot } = require("mangascrape"); // javascript
import { Batoto, MangaBuddy, Mangakakalot } from "mangascrape"; // typescript
const batoto = new Batoto();
async function getFirstChapter() {
const manga = await batoto.search({
query: "Demon Slayer",
genres: { include: { ContentTag: ["Shounen"] } },
});
if (manga.results.length < 1) return [];
const detailed = await batoto.id(manga.results[0].id);
if (detailed == undefined) return [];
const chapter = await batoto.chapter(detailed.id, detailed.chapters[0].id);
return chapter;
}
getFirstChapter().then(console.log).catch(console.error);
Contributing is easy. Just clone the repository and commit changes.
This project is licensed under the MIT
Contributing is easy. Just clone the repository and commit changes.
This project is licensed under the MIT