AnStrm
an npm package to download anime episodes for free.
Acknowledgements
- downloading or streaming anime without paying or without license is illegal, Please be careful using this package.
- direct download links will not be provided.
Authors
lets get to the point
Installation
npm install anstrm
Usage/Examples
const {StreamEpisode,StreamEpisodeDub,StreamMovie,StreamMovieDub,DownloadEpisode,DownloadEpisodeDub,DownloadMovie,DownloadMovieDub} = require('anstrm');
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;
app.get('/', (req, res) => {
res.send("an free api to scrape anime");
});
app.get('/stream/:name/:episode', (req, res) => {
var name = req.params.name;
var episode = req.params.episode;
var url = StreamEpisode(name,episode);
res.send(url);
});
app.get('/stream/dub/:name/:episode/', (req, res) => {
var name = req.params.name;
var episode = req.params.episode;
var dub = req.params.dub;
var url = StreamEpisodeDub(name,episode,dub);
res.send(url);
});
app.get('/stream/movie/:name/', (req, res) => {
var name = req.params.name;
var url = StreamMovie(name);
res.send(url);
});
app.get('/stream/movie/dub/:name/', (req, res) => {
var name = req.params.name;
var dub = req.params.dub;
var url = StreamMovieDub(name,dub);
res.send(url);
});
//this returns a url to download the episode but not as a direct download link
app.get('/download/:name/:episode', async (req, res) => {
var name = req.params.name;
var episode = req.params.episode;
var url = await DownloadEpisode(name,episode);
res.send(url);
});
//this returns a download link for a ova/movie but not as a direct download link
app.get('/download/:name', async (req, res) => {
var name = req.params.name;
var url = await DownloadMovie(name);
res.send(url);
});
//this returns a dub download link for an ova/movie but not as a direct download link
app.get('/download/dub/:name/:episode/', async (req, res) => {
var name = req.params.name;
var episode = req.params.episode;
var dub = req.params.dub;
var url = await DownloadEpisodeDub(name,episode,dub);
res.send(url);
});
//this returns a dub download link for an episode but not as a direct download link
app.get('/download/dub/:name/', async (req, res) => {
var name = req.params.name;
var dub = req.params.dub;
var url = await DownloadMovieDub(name,dub);
res.send(url);
});
app.listen(port, () => console.log(`Example app listening on port ${port}!`));
features
- download anime episodes with subtitles.
- download anime movies with subtitles.
- download dubbed anime episodes.
- download dubbed anime movies.
License
FAQ
Question 1
Will this package be updated regularly?
Yes It will.
Question 2
Is this package illegal?
Yes it is.
Question 3
Why is some anime's not working?
1 we scrape from animekisa.tv and sometimes they dont have the anime your looking for, most popular anime's should have downloads,or try changing the english title to a japanese title.
Things to do
- fix bugs.
- add more features.
- add more websites to scrape from.
- better documentation.
- better error handling.