A module to get data about anime characters, news, info, lyrics and more. The module scrapes myanimelist to parse requested data.
If you wish to see a feature, please raise an issue. We will surely work on it. You can also join our Discord to get regular updates about the module.
See the Docs for a complete documentation: https://animec.readthedocs.io/en/latest/.
To install the module:
pip install animec
To import the module:
import animec
# OR
from animec import *
result = CharSearch("okabe rintarou")
print(result.title, result.url, result.image_url, sep="\n")
'''
Output: (As retrieved from myanimelist), check the documentation for a list of all supported attributes
Rintarou Okabe (岡部 倫太郎)
https://myanimelist.net/character/35252/Rintarou_Okabe
https://cdn.myanimelist.net/images/characters/6/122643.jpg
'''
news = Aninews() #default value is 2, check the documentation for a list of all supported attributes
print(news.titles) #returns news titles
print(news.descripion) #returns news description
anime = Anime("dr stone")
recommendations = anime.recommend()
print(anime.url)
print(anime.name)
print(anime.description) #check the documentation for a list of all supported attributes
print(recommendations) #returns a list of anime recommendations
lyrics = AniLyrics("Ashiato")
print(lyrics.romaji)
The Official Documentation for animec can be found here.
Author: DriftAsimov
GitHub: https://github.com/DriftAsimov
Language Used: Python
References: https://myanimelist.net/, https://www.animesonglyrics.com/
Mail: [email protected]
Discord: Drift Asimov#3338 | https://discord.gg/x3qAZV3