new_nhentai_downloader
TypeScript icon, indicating that this package has built-in type declarations

2.3.11 • Public • Published

nhentai-comic-crawler

A program for downloading comics using simple node.js

[!Note]

The old package has been deprecated

now u can use the new version to download comic!!

  • use the new command
npm i new_nhentai_downloader

or use bun

bun add new_nhentai_downloader

Features

  • download comic on nhentai by use comic ID

Update Log (Current Status: Maintenance)

Date Version Updates and Maintenance
2024-05-23 v1.0.0 Initial release
2024-05-30 v1.0.1 ~ v1.0.2 Regular maintenance
2024-06-17 v2.0.1 ~ v2.0.2 Refactored code for better scalability, added npm support
2024-06-20 v2.0.3 ~ v2.0.4 Updated documentation, fixed issue where comics were downloaded into node_modules
2024-06-24 v2.0.5 ~ v2.0.6 Upadte English version document,and fix some promble
2024-07-07 v2.0.7 ~ v2.0.8 fix the document name error
2024-07-07 v2.1.0 ~ v2.1.2 Avoiding the use of classes to make the code more readable and simplified
2024-07-25 v2.2.0 - v2.2.1 fix some promble and add jsDoc
2024-11-09 v2.2.1 - v2.3.0 fix some bug and update markdown
2024-11-09 v2.3.0 - 2.3.11 update markdown

In Progress

*Login and Favorites

Preparation

  1. Ensure node.js is installed on your computer
  2. Install the necessary package from npm
npm i new_nhentai_downloader

Quick Start (Copy the code below according to your needs after installing the package)

import this package

for js

const nhentai = require('new_nehntai_downloader').default;

for ts

import nehntai from 'new_nehentai_downloader'
  • Just download single comic
const nhentai = require("new_nhentai_downloader").default;
nhentai.dl('comicID','dlPath')
  • Download multiple comics
const nhentai = require('new_nhentai_downloader').default;
const albums = ['#504189',"#300800"]// Both " and ' can be used
const path = './my_comic'
nhentai.dl(albums,path)

or,u can do this

const nhentai = require('new_nhentai_downloader').default;
nhentai.dl(['#504189','#300800'],'./my_comic');

Get API use this package

get doujin api(information)

nhentai.doujinAPI('1234').then(console.log).catch(console.error);

search artist or doujin key word

nhentai.searchAPI('waterring').then(console.log).catch(console.error);

get artist's all doujins

nehntai_artistAPI('waterring').then(console.log).catch(console.error);

have fun

Miscellaneous

Other convenient features are under development, and the project is currently in maintenance.

If you have any questions or suggestions, please provide them in the issues section.

This project is for research and academic purposes only and is not intended for commercial use.

Author: archie0732

Package Sidebar

Install

npm i new_nhentai_downloader

Weekly Downloads

8

Version

2.3.11

License

ISC

Unpacked Size

1.17 MB

Total Files

3

Last publish

Collaborators

  • archie0732