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.
{
'name': 'No Game no Life',
'link': 'https://www.animeworld.tv/play/no-game-no-life.IJUH1'
}
È 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 testare velocemete le funzionalità della libreria è possibile usare e consultare il file di esempio: example.py
.
Per un utilizzo avanzato consultare la documentazione.
Contributing
Se volete contribuire aprendo Issue o Pull a questa libreria siete ben accetti, tutto il codice sorgente e la documentazione è reperible su GitHub.
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
Built Distributions
Hashes for animeworld-1.4.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f280c54c044c8428fe9dccc16e731d0757827938779567ecc9d7aeb2e9e34603 |
|
MD5 | 09a3d8ac73e9593c2c5f34c66fee0158 |
|
BLAKE2b-256 | 2e8710d4e50fbf929d1c963c154b96eb8cb3e46d2b2e51911d377bf24a42f39a |
Hashes for animeworld-1.4.11-1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9956b7426dbafb6baafa956eb51d2fc236ca7ae939b8d2cabcf23c8687b73959 |
|
MD5 | 0a0fa710b399f71f5057d14a7926aa50 |
|
BLAKE2b-256 | aaf1d3b34dd9f2dca436d0fe05203fd13fd32c0c06aba36a10b6d3554ad16ddb |