9anime
TypeScript icon, indicating that this package has built-in type declarations

2.0.28 • Public • Published

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();

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.286latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.286
2.0.270
2.0.260
2.0.250
2.0.240
2.0.230
2.0.220
2.0.200
2.0.190
2.0.180
2.0.170
2.0.160
2.0.150
2.0.130
2.0.120
2.0.100
2.0.90
2.0.80
2.0.50
2.0.41
2.0.21
2.0.10
1.0.211
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.121
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.61
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i 9anime

Weekly Downloads

11

Version

2.0.28

License

MIT

Unpacked Size

7.88 MB

Total Files

49

Last publish

Collaborators

  • daniel-griffiths