-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use animetosho api for better and more accurate searching capabilities #29
Comments
also u can use anidb title dump (cache once very day) to give search suggestions so that we dont have to remember the anime name spelling or the anidb id everytime . AniDB offers a daily updated dump of all anime titles which can be used to support client sided anime search features.
|
That should be pretty easy to add. Thanks for the detailed write up. I've been wanting to clean this project up and one of the things I wanted to do is abstract out the searching capabilities so people can easily add new providers or sources. Scraping HTML is notoriously fragile, and a lot of projects that rely on it either have to update often or they break. I also want to kind of partition out the torrent streaming functionality from the searching functionalities so that no matter what happens to a source or the project, it will always be able to maintain the core functionality of streaming torrents as long as links/magnets can be provided. So a multitude of sources and a simple and clean way to add and use them is important. It'd be nice to be able to write and add a new source in an hour or so by fulfilling an interface. I guess I need to find a way to register a provider so that we can define what search parameters a provider allows for, and then find an easy way to expose that to the user. A part of that would be probably moving to a different flag parsing library and potentially I would like to expose a Lua API with bindings to the html, json, and torrent server libraries so that this tool becomes a lot more flexible and general use on top of providing a more polished experience. I've just been a little distracted lately with other projects. but I will take a look at it tomorrow. Ive been meaning to do a full rewrite since we're only at ~2K lines of code. I might as well start here. |
The animetosho api is very reliable. In the last 5-6 months it had only like 3-4 days outage . There is another torrent api named torrentio which is more reliable and u can use kitsu and imdb ids for that one . The torrentio api doesn't have a wiki or any web interface , I found it when I was looking into stremio plugin codes and it almost has no downtimes and is very well maintained with anime and non anime all content. It lacks a little bit on the anime side (negligence amount but when finding rare shows it matters). But the overall library size is much much larger than animetosho since it scrapes from |
I remember there is a configuration page for addon but it doesn't have much info |
https://animetosho.org/animes
https://animetosho.org/episodes
Anime Tosho is a free, automated service that mirrors most torrents from TokyoTosho's anime category, Nyaa.si's English translated anime category, and AniDex's anime category onto various file hosting services and Usenet.
API Information:
Anime Tosho provides an API through its feed system. The feed supports both RSS/Atom and JSON formats, which can be used to query torrent and file information. Below are the details for using the JSON API:
Base URL:
https://feed.animetosho.org/json
Basic Query Example:
Advanced Search:
qx=1
, it will perform a normal search:Filtering by AniDB IDs:
aids
):Parameters
Response Fields
The text was updated successfully, but these errors were encountered: