New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hanime-extractor

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hanime-extractor

scrape hanime

  • 2.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source
Hanime logo

HANIME-SCRAPER

This is unofficial scraper for https://hanime.tv/


Install

> npm i hanime-extractor

How-to

Typescript

import * as hanime from 'hanime-extractor'

(async() => {
    // get search results
    const output = await hanime.search('hajimete', ['loli'], 'likes', 'asc', 0) 
    console.log(output)

    // get video info using slug gotten from above step
    const videoInfo = await hanime.getVideoMedia('hajimete-no-orusuban-2')
    console.log(videoInfo)

    // download video using results from above steps
    // can also be used to download same filetype videos from other sources than hanime
    const file = await hanime.downloadVideo(videoInfo[1].url, './video/')
    console.log(file)
})()

Arguments

 // 1. text: string, 2. tags?: string[], 3. order_by?: string, 4. orderding?: desc || asc, 5. page?: number 
 // 1. slug: string
 // 1. url: string, 2. path: string

Keywords

FAQs

Package last updated on 30 Mar 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc