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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: animeworld-1.1.9.tar.gz
  • Upload date:
  • Size: 5.0 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.9.tar.gz
Algorithm Hash digest
SHA256 925ecce32a723e4ff54293342392fc40c3abfe2973131a00ea256ef2a0720cd6
MD5 425ff9c254371c3587a49070db4067a8
BLAKE2b-256 7a27437e2ee75806a4e8b4877a200778ab5ca8412782bd5d56488e5b735c2f6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: animeworld-1.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4e3e6c450f5c02eb04f816c195a2cae692d96e18eda076633afadb7a090fa1a5
MD5 6bd3c549ca7cd82cd95e1897ab4f6725
BLAKE2b-256 820d04e6eda5cd99472450a15cf944274b7cb1304d40ba7aeccb890a7ea444ea

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