mangascrape
v1.5.0
Published
Scrape mangas from various sources
Downloads
19
Readme
npm i mangascrapeHere're some of the project's best features:
- Scrape mangas easily
- JSDoc documentation
- Fully typed
- Multiple sources
npm i mangascrapeHere're some of the project's best features:
- Scrape mangas easily
- Fully typed
- Multiple sources
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
