By Dmytro Laptiev • October 2, 2025
Hi there! Today, we're going to use the Manga Collector package to scrape data from various sources. This package supports multiple runtimes like Node, Deno, and Bun, so you can use it in whichever environment you prefer.
First, let's create a project. I'll be using Node.js with TypeScript for this.
npm init -y
Next, we need to install the necessary packages.
npm i typescript
npx jsr add @akiosarkiz/manga-collector
That's it! All dependencies are installed. Now we can write a script to retrieve manga data.
import { MangaScraperFactory, MangaSource } from "@akiosarkiz/manga-collector";
const scraper = await MangaScraperFactory.make(MangaSource.MANGANATO);
console.log(await scraper.getDetailedManga("https://chapmanganato.to/manga-fy982633"));
// Example output
// {
// "url": "https://chapmanganato.to/manga-fy982633",
// "title": "Beauty And The Beasts",
// "status": "ongoing",
// "description": "As soon as she fell into the world of beast men, a leopard forcibly took her back to his home. Indeed, Bai Jingjing is at a complete and utter loss. The males in this world are all handsome beyond compare, while the women are all so horrid that even the gods shudder at their sight. As a first-rate girl from the modern world (she's even a quarter Russian), Bai Jingjing finds herself sitting at the center of a harem filled with beautiful men -- at the very peak of existence.",
// "genres": [
// ...
// ],
// "chapters": [
// ...
// ],
// "authors": [
// ...
// ]
// }