Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.
/ anitube-ua-lib Public archive

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

Notifications You must be signed in to change notification settings

Lorg0n/anitube-ua-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

anitube

Python library for working with AniTube - anime resource

Installing

pip install git+https://github.com/Lorg0n/anitube-ua-lib/

Usage

# Import the library:
from anitube 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

Releases

No releases published

Packages

No packages published

Languages