9anime
A CLI script to scrape and watch shows from 9anime
Last updated 2 days ago by daniel-griffiths .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install 9anime 
SYNC missed versions from official npm registry.

9anime Scraper

A node package/cli tool for scraping and viewing episodes hosted on 9anime

Install CLI

Install globally with npm

npm install -g 9anime

Or with Yarn

yarn global add 9anime

Then just run the command 9anime from your terminal to get started! It will ask you a few questions and then the episode will start playing directly within VLC. If you don't have VLC installed you can get it here: https://www.videolan.org/vlc/index.en-GB.html

Install as a package

Install with npm

npm install 9anime

Or with Yarn

yarn add 9anime

Example Usage

import { Anime, createPuppeteerInstance } from "9anime";

// Create a new instance of puppeteer,
// You can replace this with a custom instance if required
const puppeteerInstance = await createPuppeteerInstance();

const anime = new Anime(puppeteerInstance);

// Destructure and get the first show in the search results
const [show] = await anime.search("jojo");

// Destructure and get the first episode of that show
const [episode] = await anime.getEpisodes(show.url);

// Get the video url for the selected episode
const { video } = await anime.getVideo(episode.url);

// Close puppeteer and free resources
anime.close();

Current Tags

  • 2.0.17                                ...           latest (2 days ago)

32 Versions

  • 2.0.17                                ...           2 days ago
  • 2.0.16                                ...           3 days ago
  • 2.0.15                                ...           3 days ago
  • 2.0.13                                ...           a month ago
  • 2.0.12                                ...           a month ago
  • 2.0.10                                ...           a month ago
  • 2.0.9                                ...           a month ago
  • 2.0.8                                ...           a month ago
  • 2.0.5                                ...           a month ago
  • 2.0.4                                ...           a month ago
  • 2.0.2                                ...           a month ago
  • 2.0.1                                ...           a month ago
  • 1.0.21                                ...           2 months ago
  • 1.0.20                                ...           2 months ago
  • 1.0.19                                ...           2 months ago
  • 1.0.18                                ...           2 months ago
  • 1.0.17                                ...           2 months ago
  • 1.0.16                                ...           2 months ago
  • 1.0.15                                ...           2 months ago
  • 1.0.12                                ...           5 months ago
  • 1.0.11                                ...           5 months ago
  • 1.0.10                                ...           5 months ago
  • 1.0.9                                ...           5 months ago
  • 1.0.8                                ...           5 months ago
  • 1.0.7                                ...           5 months ago
  • 1.0.6                                ...           5 months ago
  • 1.0.5                                ...           5 months ago
  • 1.0.4                                ...           5 months ago
  • 1.0.3                                ...           5 months ago
  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 1
This Week 102
This Month 133
Last Day 45
Last Week 1
Last Month 262
Dependencies (7)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |