Writing your own custom site class

anime_downloader is built with easy extensibility in mind.

Each of the sites (in the tool) can roughly be classfied into two catagories;

  • Sites which don’t use Cloudflare DDoS protection: Ex: NineAnime
  • Sites which use Cloudflare DDoS protection: Ex: KissAnime

All sites have the base class Anime. There are helper functions defined by :py:func: anime_downloader.sites.helpers.request.get and anime_downloader.sites.helpers.request.post(). You are expected to use these functions to perform any network requests. There is also a helper function anime_downloader.sites.helpers.request.soupfiy() for making BeautifulSoup s out of requests.

All requests are cached. So don’t worry about making requests twice.