It can take a genre which can range from All, Action, Adventure, Cars, Cartoon, Comedy, Dementia, Demons, Drama, Dub, Ecchi, Fantasy, Game, Harem, Historical, Horror, Josei, Kids, Magic, Martial-Arts, Mecha, Military, Movie, Music, Mystery, ONA, OVA, Parody, Police, Psychological, Romance, Samurai, School, Sci-Fi, Seinen, Shoujo, Shoujo-Ai, Shounen, Shounen-Ai, Slice-of-Life, Space, Special, Sports, Super-Power, Supernatural, Thriller, Vampire, Yuri. This function also returns a AnimeMetaObject. Get_random_anime takes two arguments which are both optional and are strings. If they still work the bootup process will be a lot faster, however if the cookies have expired you would need to wait. Everytime you initalize desktop.KissAnime(), the sqlite3 database will be checked and the cookies will be validated. Once the captcha is solved it's stored in an sqlite3 database called cloudflare.db. This is due to cloudflares automated captcha being stored.
Initalization will take about 10 seconds on the first startup. This can easily be done with just calling In order to use the API you need to first initialize it. This should run all the unit tests to make sure everything is working fine. To run the unit test, in your root directory just execute python desktop_test.py -v. As of right now this is the only way to get around the captcha. The reason for this is to bypass the "captcha" that is used when trying to view videos. The module does however also make use of the mobile website. The desktop module is mainly used for the desktop website.
Meta objects can return data in multiple ways, they call can be printed, they can be accessed like dictionaries, they all have variables, can return a dictionary of all the data and lastly they have specific functions to return the data as well. A meta object is essentially all the information of the requested data in an easy to use form. Most functions in the KissAnime object return a "meta object". One is a desktop module which uses the desktop website and the other is a mobile module which sticks to the mobile website(The mobile website module is currently being worked on). There's two base modules which could be used. To get started as fast as possible check out example.py to get started! Things to know It can retrieve all sorts of data such as air dates, summaries, video urls etc.
EasyKissAnime is a quick and easy to use python api to get everything what you needed done with ease.