Skip to main content

Library that parses data from the site anitube.in.ua

Reason this release was yanked:

Неактульна

Project description

anitube-ua-lib

Python library for working with AniTube - anime resource

Installation

pip install anitube-lib

Usage

# Import the library:
from anitube_ua_lib import AniTube

# Initialize:
anitube = AniTube()

# Search for anime:
results = anitube.search_anime("naruto", limit=10)

# Get anime details:
anime = results[0]
print(anime.name)
print(anime.description) 
print(anime.rating)

# Get anime screenshots:
screens = anime.get_big_screens() 
# or
screens = anime.get_small_screens()

# Get anime playlist:
playlist = anime.get_playlist()
print(playlist.json)

# Get anime list by filters:
anime_list = anitube.get_anime(
    cat=[6, 22],
    year=[2010, 2020], 
    sort='rating'
)

Description

anitube-ua-lib is a Python library for convenient work with AniTube anime resource.

It allows you to:

  • Search anime
  • Get anime details like description, rating, categories, etc
  • Get anime screenshots
  • Get anime playlist (video links)
  • Get anime list by filters: category, release year, rating, etc

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

anitube-lib-0.1.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file anitube-lib-0.1.tar.gz.

File metadata

  • Download URL: anitube-lib-0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for anitube-lib-0.1.tar.gz
Algorithm Hash digest
SHA256 3cbbf53ef15d9e563c75b3050440c54defa78543d2a5dff78f9ac99f74a860d8
MD5 16f49a350d161d171172c0f58aeaa2ec
BLAKE2b-256 23b28f1c1eb5616004c2c18300fb36e01afe7b489ff94e5ad09c25d8a4efdbd9

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