Writing your own custom site class¶
anime_downloader is built with easy extensibility in mind.
Each of the site (in the tool) can roughly be classfied into two.
- Sites which don’t use cloudflare DDoS protection. Ex:
- Sites which use cloudflare DDoS protection. Ex:
All sites have the base class
There are helper functions defined
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.