Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
HakuNeko provides parsers to access mangas from some selected websites.
Include the module:
// [optional] use a logtrine logger in case for debug output
const { FileLogger } = require('logtrine');
const { KissManga, MangaGo } = require('hakuneko');
var logger = new FileLogger('./hakuneko.log', ConsoleLogger.LEVEL.All);
var kissmanga = new KissManga(logger);
var mangago = new MangaGo(logger);
Basic data structure for manga(s):
{
"id": "/Manga/Mirai-Nikki",
"title": "Mirai Nikki"
}
Basic data structure for chapter(s):
{
"id": "/Manga/Mirai-Nikki/ch-001",
"title": "Chapter 01 - Beginning"
}
NOTE: Website will ban your IP when using this module, only use it if you have dynamic IP!
Function to parse mangas from the website. The manga list is scattered over multiple website pages, where each page contains roughly 50 mangas.
const { KissManga } = require('hakuneko');
var scraper = new KissManga();
scraper.getMangaList(1, 2)
.then(mangas => console.log(mangas))
.catch(error => console.error(error))
NOTE: Website will ban your IP when using this module, only use it if you have dynamic IP!
Function to parse mangas from the website. The manga list is scattered over multiple website pages, where each page contains roughly 44 mangas.
const { MangaGo } = require('hakuneko');
var scraper = new MangaGo();
scraper.getMangaList(1, 2)
.then(mangas => console.log(mangas))
.catch(error => console.error(error))
FAQs
Scraper for manga websites
The npm package hakuneko receives a total of 239 weekly downloads. As such, hakuneko popularity was classified as not popular.
We found that hakuneko demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.