A useful tool for scraping HentaiHaven videos for your boner needs ❤️
Sources / Links
- Website responsibe for my grades: http://hentaihaven.org/
- My Discord server if you have any questions: https://discord.gg/zG83r6M
- My another big project you may like: https://gitlab.com/HCat/milim.info
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