Anime Scraper is a library that provides unofficial api to scrape the diiferent anime streaming platform like gogoanime, nine anime website returns the data as JSON Object. This repository is broken into two pieces one contains java scraper and other contains python scraper. This project is created fo the purpose of using it into RawAnime. If you are using our project feel free to give us credit :)
// initalize the variable
Scraper animes= new Scraper();
animes.getRecentlyUpdated(); // returns JSON Object
animes.getPopularOngoing(); // returns JSON Object
animes.searchAnime(animeName); // animeName is a String
animes.getAllEpisodes(animeUrl); // animeUrl is a String
animes.getServers(url); // url is a String
Make the post request on the given url, the data post should be in JSON
url = 'https://rawanime.herokuapp.com/'
and in that JSON intent key whould be present which specifies what api to call, example of json given below
{
"intent":"new"
}
{
"intent":"search"
"anime": "naruto shippuden"
}
{
"intent":"getAnime"
"url":"http//:gogoanime.com/naruto"
}
{
"intent":"episode"
"url": "http//:www.gogoanime.com/naruto/"
"episode_number":"13"
}
The above key values are required for the api to work, and all requests are handled by the same base url, for different functionality just the data posted will be changed as suggested above
Want to contribute? Great!
Fork your own copy of this repository, make changes, update, fix bugs, add additional features or just prettify the code and create a pull request explaining what have you added fixed or improved so that we can merge it to our branch.
This library is being developed to be used in RawAnime Andriod application, but feel free to use it in your project.
This Library is created for education purpose only and we shall not be responsible for its misuse.
This is API in created without the consent of the owner of the websites, the main purpose of this project was for me to learn webscraping, so if you want to use our API, we are not be held responsible for any legal action taken on you by the owner.