Library that parses data from the site anitube.in.ua
Project description
anitube-ua-lib
Python library for working with AniTube - anime resource
Installation
pip install anitube-lib
Usage
# Import the library:
from anitube-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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anitub-lib-0.1.1.tar.gz
(5.0 kB
view details)
File details
Details for the file anitub-lib-0.1.1.tar.gz
.
File metadata
- Download URL: anitub-lib-0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c492443260379d724dae90f7fa20a95551f6e626c77d4597e5715ecfe3b71ae |
|
MD5 | bcddd5aa9a29d4614c5774d915d10fa4 |
|
BLAKE2b-256 | 6a76036771c6129135ea603e65a42346c767a8164f5b02998ee72781068177f2 |