Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Api for searching page link, download link, streaming link of an anime and a precise episode on many website simultaneously. Only one search and you got the results from all animes websites.

License

NotificationsYou must be signed in to change notification settings

JustalK/ANIME-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt text

Last version npmLast versionNode versionTravisCoverage StatusDependency statusLast versionXO code style

Star the project

Are you not tired of searching where you can watch or download your favorite animes ? To search on hundred of website until you find what you are looking for ? If yes, this API is for you. This API is a powerful scraper of many streaming and downloading website. With this API, you can search a page about your favorite anime or search for a download link or streaming link for enjoying your favorite animes.

npm install @justalk/anime-api

Short Example

If you want to search for a streaming link of the episode 387 of naruto shippuden

constanimeapi=require('@justalk/anime-api');constdownload=awaitanimeapi.download('naruto shippuden',387);

Features

  • Get page links: Get the page links of the anime on many website by searching an anime by name

  • Get streaming links: Get the streaming link of an episode of an anime by anime name

  • Get download links: Get the direct download link of an episode of an anime by anime name

API

Search page link by anime name

asynclinks(search,options)
More informations (click to show)
nametypedescription
searchStringname of the anime searched
optionsObject(optionnal) List of the options
Lists of optionnal options available for page links
name of keyreturn typedescription
limit_per_websiteNumberLimit the number of result per website
limitNumberLimit the number of total result
websiteStringWebsite that you wanna target, see under for the complete list
Format response oflinks
name of keyreturn typedescription
sourceStringName of the source
titleStringComplete title of the anime on the website
linkStringLink of the anime
levenshteinNumberDifference of character from the search

The result is order by levenshtein. The first result will be the closest from your research.

Search streaming links by anime name

asyncstream(search,episode,options)
More informations (click to show)
nametypedescription
searchStringname of the anime searched
episodeNumbernumber of the episode searched
optionsObject(optionnal) List of the options
Lists of optionnal options available for stream links
name of keyreturn typedescription
limit_per_websiteNumberLimit the number of result per website
Format response ofstream
name of keyreturn typedescription
sourceStringName of the source
linkStringLink of the stream

Only one result by source will be provided.

Search downloading links by anime name

asyncdownload(search,episode,options)
More informations (click to show)
nametypedescription
searchStringname of the anime searched
episodeNumbernumber of the episode searched
optionsObject(optionnal) List of the options
Lists of optionnal options available for download links
name of keyreturn typedescription
limit_per_websiteNumberLimit the number of result per website
Format response ofdownload
name of keyreturn typedescription
sourceStringName of the source
linkStringLink of the download

Only one result by source will be provided.

List of website available

The list below show the website scraped by the API and the website available for the optionwebsite

website variablewebsite url
ANIMELANDhttps://www.animeland.us/
CHIA-ANIMEhttp://www.chia-anime.me/
ANIMEOUThttps://www.animeout.xyz/
GOGOANIMEhttps://www3.gogoanime.pro/
ANIMEFREAKhttps://www.animefreak.tv/
ANIME8https://anime8.ru/
9ANIMEhttp://9anime.to/
ANIMEDAISUKIhttps://animedaisuki.moe/

The list is increasing slowly. I am working on it.

Examples

Searching page link of naruto shippuden (click to show)
constanimeapi=require('@latsuj/anime-api');constresults=awaitanimeapi.links('Naruto shippuden');
results=[{source:'ANIMELAND',title:'Naruto Shippuden',link:'https://www.animeland.us/dub/naruto-shippuden',levenshtein:2},{source:'CHIA-ANIME',title:'Naruto Shippuden',link:'http://www.chia-anime.me/episode/naruto%e3%83%8a%e3%83%ab%e3%83%88%e7%96%be%e9%a2%a8%e4%bc%9danime/',levenshtein:7},{source:'ANIMEOUT',title:'Naruto Shippuden Movie 7 The Last',link:'https://www.animeout.xyz/dub/naruto-shippuden-movie-7-the-last',levenshtein:19}]
Searching stream link of naruto shippuden (click to show)
constanimeapi=require('@justalk/anime-api');conststream=awaitanimeapi.stream('naruto shippuden',387);
results=[{source:'ANIMELAND',link:'https://www.animeland.us/naruto-shippuden-episode-500-english-dubbed'},{source:'CHIA-ANIME',link:'http://www.chia-anime.me/naruto-shippuden-episode-500-english-subbed/'}]
Searching download link of naruto shippuden episode 387 with options (click to show)
constanimeapi=require('@justalk/anime-api');constdownload=awaitanimeapi.download('naruto shippuden',387,{website:'CHIA-ANIME'});
results=[{{source:'CHIA-ANIME',link:'http://www.chia-anime.me/naruto-shippuuden-episode-387-english-subbed/'}]

How to contribute/test

For testing, install the node project and run the test command.

node installnpmtest

Also, you can use the command under for running the test without the linter

npm run test-no

The API has two kind of tests.

  1. dynamic : Perform query on the real Website.
  2. static : Run the API through website mock, allowing the tests to be more precise.

I am also usingwinston for filling up logs.

License

MIT - Copyright ©JUSTAL Kevin

About

Api for searching page link, download link, streaming link of an anime and a precise episode on many website simultaneously. Only one search and you got the results from all animes websites.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp