Skip to content

SlavyanDesu/NekoBocc

Repository files navigation

20230115-133928

A simple and lightweight Nekopoi scraper.


CodeFactor

Installation

$ npm install nekobocc

Loading and configuring the module

As of v1.3.x this module now support both ESM and CommonJS.

ES Modules (ESM)

import NekoBocc from 'nekobocc';
const nekobocc = new NekoBocc();

CommonJS

const NekoBocc = require('nekobocc').default;
const nekobocc = new NekoBocc();

Example

import NekoBocc from 'nekobocc';
const nekobocc = new NekoBocc();

// Get list of released hentai.
nekobocc.release()
  .then(res => console.log(res));

Results

  • HentaiRelease
[
    {
        img: 'https://nekopoi.care/wp-content/uploads/2023/01/vlcsnap-2023-01-15-03h18m12s053-300x169.png',
        title: '[L2D] Bocchi-chan Maid Service by Consome',
        link: 'https://nekopoi.care/l2d-bocchi-chan-maid-service-by-consome/'
    },
    {
        img: 'https://nekopoi.care/wp-content/uploads/2023/01/vlcsnap-2023-01-15-00h06m41s977-300x169.png',
        title: '[NEW Release] Kemonokko Tsuushin The Animation Episode 2 Subtitle Indonesia',
        link: 'https://nekopoi.care/kemonokko-tsuushin-the-animation-episode-2-subtitle-indonesia/'
    }
    ...
]
  • EpisodeMetadata
{
    img: 'https://nekopoi.care/wp-content/uploads/2023/01/vlcsnap-2023-01-01-03h58m25s923-300x169.png',
    title: '[NEW Release] Mako-chan Kaihatsu Nikki Episode 4 Subtitle Indonesia – NekoPoi',
    synopsis: 'Makoto tiba-tiba berpacaran dengan teman masa kecilnya yaitu Kaoru. Makoto ternyata adalah cewek yang mesum yang tiap malam menonton bokep sambil colmek yang ia dapat dari menyelinap di kamar kakaknya. Namun suatu malam di hari pertama Makoto berpacaran, ia tertangkap basah sedang colmek oleh kakaknya. Dengan rasa gatal yang menyengat dan kemampuan kakaknya akan pengetahuan seks, membuat Makoto tidak dapat menahan godaan untuk bermain dengan kakaknya…',
    genre: 'Ahegao, Anal, Big Oppai, Blowjob, Incest, Masturbation, Netorare, Schoolgirl',
    producer: 'T-Rex, Bunny Walker',
    duration: '16 menit',
    quality: [
        '[NEW Release] Mako-chan Kaihatsu Nikki Episode 4 Subtitle Indonesia [1080p]',
        '[NEW Release] Mako-chan Kaihatsu Nikki Episode 4 Subtitle Indonesia [720p]',
        '[NEW Release] Mako-chan Kaihatsu Nikki Episode 4 Subtitle Indonesia [480p]',
        '[NEW Release] Mako-chan Kaihatsu Nikki Episode 4 Subtitle Indonesia [360p]'
    ],
    download: [
        'https://ouo.io/wshoBm',
        'https://ouo.io/7Hol1z',
        'https://ouo.io/m75Mbm',
        'https://ouo.io/7MLHJz'
    ]
}
  • HentaiMetadata
{
    img: 'https://nekopoi.care/wp-content/uploads/2021/07/MakochanKaihatsuNikkiep69538176cde48c8e3ebb65761cb63504-213x300.jpg',
    title: 'Mako-chan Kaihatsu Nikki',
    synopsis: 'Makoto tiba-tiba berpacaran dengan teman masa kecilnya yaitu Kaoru. Makoto ternyata adalah cewek yang mesum yang tiap malam menonton bokep sambil colmek yang ia dapat dari menyelinap di kamar kakaknya. Namun suatu malam di hari pertama Makoto berpacaran, ia tertangkap basah sedang colmek oleh kakaknya. Dengan rasa gatal yang menyengat dan kemampuan kakaknya akan pengetahuan seks, membuat Makoto tidak dapat menahan godaan untuk bermain dengan kakaknya…',
    views: 21035,
    japanese: 'まこちゃん開発日記',
    category: 'Hentai',
    episode: 4,
    status: 'Completed',
    aired: 'Jul 02, 2021',
    producer: 'T-Rex, Bunny Walker',
    genre: 'Ahegao, Anal, Big Oppai, Blowjob, Incest, Masturbation, Netorare, Schoolgirl',
    duration: '16 min',
    score: 7,
    url: [
        'https://nekopoi.care/mako-chan-kaihatsu-nikki-episode-1-subtitle-indonesia/',
        'https://nekopoi.care/mako-chan-kaihatsu-nikki-episode-2-subtitle-indonesia/',
        'https://nekopoi.care/mako-chan-kaihatsu-nikki-episode-3-subtitle-indonesia/',
        'https://nekopoi.care/mako-chan-kaihatsu-nikki-episode-4-subtitle-indonesia/'
    ]
}

API

nekobocc.release([page])

  • page Page number to be shown, this parameter is optional. Default is 1.

Get list of released hentai.
return a HentaiRelease

nekobocc.search(query)

  • query is a string and you need to pass it, otherwise will resulting an error.

Get search result from given query.
return a HentaiRelease

nekobocc.get(url)

  • url Nekopoi episode or hentai page URL.

Get metadata of episode or hentai page from a valid URL.
return a HentaiMetadata or EpisodeMetadata

nekobocc.random()
Get random hentai or episode page.
return a HentaiMetadata or EpisodeMetadata

License

MIT