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.2820latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.2820
2.0.271
2.0.261
2.0.250
2.0.241
2.0.231
2.0.221
2.0.202
2.0.191
2.0.181
2.0.175
2.0.161
2.0.151
2.0.132
2.0.121
2.0.101
2.0.91
2.0.81
2.0.51
2.0.40
2.0.20
2.0.10
1.0.211
1.0.201
1.0.191
1.0.182
1.0.170
1.0.160
1.0.151
1.0.120
1.0.111
1.0.101
1.0.91
1.0.81
1.0.71
1.0.60
1.0.50
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01

Package Sidebar

Install

npm i 9anime

Weekly Downloads

36

Version

2.0.28

License

MIT

Unpacked Size

7.88 MB

Total Files

49

Last publish

Collaborators

  • daniel-griffiths