Skip to main content

AnimeWorld UNOFFICIAL API

Project description

AnimeWorld

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 testare velocemete le funzionalità della libreria è possibile usare consultare il file di esempio: example.py.

Per un utilizzo avanzato consultare la documentazione.

Project details


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.2.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

animeworld-1.2.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file animeworld-1.2.1.tar.gz.

File metadata

  • Download URL: animeworld-1.2.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for animeworld-1.2.1.tar.gz
Algorithm Hash digest
SHA256 5bdb01cc2ed7edae791ab8842c74207dbbbe5516a84df3cc300a98d0af30fb97
MD5 be2a995bc0a33c0654ffc7d8543aeb9a
BLAKE2b-256 d32a75a25fffc99a72af8ae3cdd23e1ccd6ba314aa7cf6152b50aea9fc3d567a

See more details on using hashes here.

File details

Details for the file animeworld-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: animeworld-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for animeworld-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51aaeafec7e99b3c7072da54e0ce93ac0b9da780e3a2a286dbfc7882988365fc
MD5 4dde5c81e64f74dd00ff557b7c137a4f
BLAKE2b-256 d0e7ce8d92a468b4a0e490761b55b934738036a870ed19bf713f06ae25618db1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page