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.8.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for animeworld-1.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5189e49b432a6be378d063966d12bc1d0b05714455e55a07ec64bd3549fc996 |
|
MD5 | 078d4b55f27f9025276481350a613586 |
|
BLAKE2b-256 | 381835abba5090087bc4b050e5ba1072b1d8fcb701dd82e715beed643c094f9e |