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

Uploaded Source

Built Distribution

animeworld-1.1.6-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animeworld-1.1.6.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for animeworld-1.1.6.tar.gz
Algorithm Hash digest
SHA256 de2ad36856b68f8477e3599e598ef382dbe8e491c4196b603b0908a1ed5ba8f6
MD5 4157388648d69d689611eeaa34626acf
BLAKE2b-256 16de53c15b98eae2145d8472afdd195c70bf6bccaf81f2d787764114788a8111

See more details on using hashes here.

File details

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

File metadata

  • Download URL: animeworld-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for animeworld-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8a60bfd79fe73a9db91fb044709ac7b1613f975303a268481f3bb713475b700f
MD5 67b3b49a689d41eb10c1c2fdcee0bd67
BLAKE2b-256 d2691f0caacad3b4d449692d80dbfe1d8b16b1da56eadaeaeab8f6bf40720b93

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