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

Uploaded Source

Built Distribution

animeworld-1.1.10-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animeworld-1.1.10.tar.gz
  • Upload date:
  • Size: 5.1 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.1.10.tar.gz
Algorithm Hash digest
SHA256 60d8fe4e4e6ef50b0367fd5926890aff5ee066c7fe42c967b3e122a6d91f550e
MD5 1f9e2de820d9e6b294804e01d477a760
BLAKE2b-256 7bd245f0a0f3f00ce279606be2183310afd89e6aec95d3d86fbc67d9f346cc4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: animeworld-1.1.10-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 51be0d0e42b6816fa46fe59a46e33d3e8b4b38b0efa2319a3c1f15cc65553dbd
MD5 0667b4efd53141aceaf2199f2e3a1cbe
BLAKE2b-256 78047a8e67ad26b9ea8941bf92d58ade7b0096d4ff0b603c0043d1c028b65c1a

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