"""providers/animekai.py — animekai.be source (hianime-family CMS, own ID space). Each episode lists one or more servers, allocated per-episode across TWO backends, handled by separate _backend_* functions (add a third backend = add one branch in _master_m3u8): - my.1anime.site -> direct progressive MP4 ( on the embed page). Independent CDN; its file host demands a Referer (403 without). - megaplay.buzz -> MegaPlay player, shared with hianime via upstream.megaplay_master. Same CDN family. master_m3u8() prefers 1anime first (independent of the MegaPlay CDN), then megaplay. The returned "master" is just "the URL the player fetches": .m3u8 -> hls.js, anything else -> native