AnimeWorld UNOFFICIAL API
Project description
AnimeWorld-API
AnimeWorld-API is an unofficial library for AnimeWorld (Italian anime site).
Installazione
Questa libreria richiede Python 3.6 o superiore.
È Possibile installarare la libreria tramite pip:
pip install animeworld
Utilizzo
Per ricercare un anime per nome nel sito di animeWolrd è possibile usare la funzione find().
import animeworld as aw
res = aw.find("No game no life")
print(res)
La funzione estituirà un dizionario contentente per chiave il nome dell'anime e per valore il link della pagina di animeworld.
{
'No Game no Life': 'https://www.animeworld.tv/play/no-game-no-life.IJUH1',
'No Game No Life: Zero': 'https://www.animeworld.tv/play/no-game-no-life-zero.p-2vq'
}
È Possibile anche scaricare gli episodi di un anime.
import animeworld as aw
anime = aw.Anime(link="https://www.animeworld.tv/play/danmachi-3.Ydt8-")
for episodio in anime.getEpisodes():
print("Episodio Numero: ", episodio.number)
if(episodio.download()):
print("scaricato")
else:
print("errore")
if x.number == '1': break
Episodio Numero: 1
scaricato
Utilizzo Avanzato
Per un utilizzo avanzato consultare la documentazione.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
animeworld-1.1.7.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for animeworld-1.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c30b25552d09ed3f9a0f48943c66f8067ea43d35b3309e1cfbcd1b42b9b7f9ff |
|
MD5 | 25b98198636b34f3dc0c8cf3c09c9499 |
|
BLAKE2b-256 | 5805abb05c6ea7a03213387e89d082bb4c2b6a55c8cc854503307f8df39f9797 |