1.3.2 • Published 6 months ago

mangascrape v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago
npm i mangascrape

Here're some of the project's best features:

  • Scrape mangas easily
  • Fully typed
  • Multiple sources
npm i mangascrape

Here'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

1.3.2

6 months ago

1.3.1

6 months ago

1.3.0

6 months ago

1.2.1

7 months ago

1.2.0

7 months ago

1.1.4

7 months ago

1.1.3

7 months ago

1.1.2

7 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

7 months ago