包详细信息

hhchop

HCat7ISC1.0.2

A useful tool for scraping HentaiHaven videos for your boner needs

HentaiHaven, scraper

自述文件

A useful tool for scraping HentaiHaven videos for your boner needs ❤️


Sources / Links

Documentation

- Start

Clone the package to your working directory: npm i HHchop

Then require it in your code you will currently using be using it in

const HHC = require('HHchop');

Simple as that

- Functions

.search('text', callback => {})

Searches for episodes by a given string

HHC.search('Kimekoi', res => {
    console.log(res[0].title)
})

.newest(callback => {})

Sorts newest episodes

HHC.newest(res => {
    console.log(res[0].title)
})

.faps(callback => {})

Sorts most fapped episodes

HHC.faps(res => {
    console.log(res[0].title)
})

.views(callback => {})

Sorts most viewed episodes

HHC.views(res => {
    console.log(res[0].title)
})

.popular(callback => {})

Sorts most discussed episodes

HHC.popular(res => {
    console.log(res[0].title)
})

.title(callback => {})

Sorts episodes by title from A to Z

HHC.title(res => {
    console.log(res[0].title)
})

.year(callback => {})

Sorts episodes by Year

HHC.year(res => {
    console.log(res[0].title)
})

Callback structures

[
    {
        tags: [
            'exclusive', 'big-boobs',
            'blow-job',  'creampie',
            'hand-job',  'harem',
            'licking',   'school-girl',
            'threesome', 'vanilla',
            'virgin',    'yuri'
        ],
        title: 'kimekoi takane no hana to osananajimi ga kimatta riyuu',
        full_title: 'kimekoi takane no hana to osananajimi ga kimatta riyuu episode 2',
        episodes: [ 2 ],
        src: 'https://hentaihaven.org/kimekoi-takane-no-hana-to-osananajimi-ga-kimatta-riyuu-episode-2/',
        res: '720p',
        video: 'http://cdn.hh.cx/files/%5BHH%5D%20Kimekoi%21%20Takane%20no%20Hana%20to%20Osananajimi%20ga%20Kimatta%20Riyuu%20-%20Episode%202%20%5BDVD%5D%20%5B80D6E29D%5D.mp4',
        thumbnail: 'https://hentaihaven.org/package/2017/12/HH-Kimekoi-Takane-no-Hana-to-Osananajimi-ga-Kimatta-Riyuu-Episode-2-DVD-80D6E29D.mp4_snapshot_12.30_2017.12.31_00.14.52-1024x576.png'
    }, ...
]

Todo

[ ] Find a way to switch between pages