Powerful and Async API for AnimeWorld.tv πŸš€

Overview

Powerful and Async API for AnimeWorld.tv πŸš€

Installation βš™οΈ

pip install git+https://github.com/stefanodvx/[email protected]

or

https://github.com/stefanodvx/animeworld
cd animeworld
python setup.py install

Example codes βœ…

Search anime πŸ”Ž

import asyncio
import json

from animeworld import AnimeWorld
aw = AnimeWorld()

async def main():
    results = await aw.search("one piece")
    print(json.dumps(results, indent=4))

asyncio.run(main())

Output:

[
    {
        "title": "One Piece",
        "thumb": "https://img.animeworld.tv/locandine/8056a82e973dde98ebb82abd39dc69.jpg",
        "url": "https://www.animeworld.tv/play/one-piece-subita.j9hCX",
        "tags": []
    },
    {
        "title": "One Piece (ITA)",
        "thumb": "https://img.animeworld.tv/locandine/d5nah.jpg",
        "url": "https://www.animeworld.tv/play/one-piece-ita.d5nah",
        "tags": [
            "DUB"
        ]
    },
    {
        "title": "One Piece 3D2Y: Superare la Morte di Ace! Rufy e il Giuramento Fatto ai Compagni",
        "thumb": "https://img.animeworld.tv/locandine/64755l.jpg",
        "url": "https://www.animeworld.tv/play/one-piece-3d2y-superare-la-morte-di-ace-rufy-e-il-giuramento-fatto-ai-compagni.2lJmq",
        "tags": [
            "Special"
        ]
    },
    {
        "title": "One Piece Movie 14: Stampede",
        "thumb": "https://img.animeworld.tv/locandine/mawDj.jpg",
        "url": "https://www.animeworld.tv/play/one-piece-movie-14-stampede.mawDj",
        "tags": [
            "Movie"
        ]
    },
    {
        "title": "One Piece: Episode of Skypiea",
        "thumb": "https://img.animeworld.tv/locandine/lPxq68n.jpg",
        "url": "https://www.animeworld.tv/play/one-piece-episode-of-skypiea.lnBAU",
        "tags": [
            "Special"
        ]
    }
]

Get anime info πŸ‘οΈ

(Pass episodes=True to get episodes list, for anime with 900+ episodes it could be boring getting an huge output)

import asyncio
import json

from animeworld import AnimeWorld
aw = AnimeWorld()

async def main():
    data = await aw.get("https://www.animeworld.tv/play/saihate-no-paladin.aYZzH/gADGc4", episodes=True)
    print(json.dumps(data, indent=4))

asyncio.run(main())

Output:

{
    "title": "Saihate no Paladin",
    "thumb": "https://img.animeworld.tv/locandine/aYZzH.jpg?0",
    "views": "50.939",
    "status": "In corso",
    "episoes_count": 12,
    "episodes_on_site": 4,
    "description": "In una citt\u00e0 di morti da tempo in rovina e lontana dalla civilt\u00e0, vive un solo bambino umano. Il suo nome \u00e8 Will ed \u00e8 stato cresciuto da tre non-morti: lo scheletrico guerriero Blood, la graziosa sacerdotessa mummificata Mary e lo stregone spettrale Gus. I tre amano il ragazzo e gli insegnano tutto quello che sanno. Un giorno Will inizia a chiedersi chi \u00e8 e da dove viene e dovr\u00e0 svelare i misteri di questo paese abitato da morti.",
    "duration": "23 min/ep ",
    "rating": "7.88",
    "genres": [
        "Avventura",
        "Fantasy"
    ],
    "studio": "Children's Playground Entertainment",
    "season": "Autunno 2021",
    "release_date": "09 Ottobre 2021",
    "audio": "Giapponese",
    "categories": [
        "Anime"
    ],
    "related": [],
    "episodes": [
        {
            "url": "https://www.animeworld.tv/play/saihate-no-paladin.aYZzH/E5BB3K",
            "number": 1.0
        },
        {
            "url": "https://www.animeworld.tv/play/saihate-no-paladin.aYZzH/3UJJMm",
            "number": 2.0
        },
        {
            "url": "https://www.animeworld.tv/play/saihate-no-paladin.aYZzH/RnoItb",
            "number": 3.0
        },
        {
            "url": "https://www.animeworld.tv/play/saihate-no-paladin.aYZzH/gADGc4",
            "number": 4.0
        }
    ]
}

Get download URL ⬇️

import asyncio

from animeworld import AnimeWorld
aw = AnimeWorld()

async def main():
    url = await aw.download_url("https://www.animeworld.tv/play/saihate-no-paladin.aYZzH/gADGc4")
    print(url)

asyncio.run(main())

Output:

https://server14.streamingaw.online/DDL/ANIME/SaihateNoPaladin/SaihateNoPaladin_Ep_04_SUB_ITA.mp4
Get charts, top artists and top songs WITHOUT LastFM API

LastFM Get charts, top artists and top songs WITHOUT LastFM API Usage Get stats (charts) We provide many filters and options to customize. Geo filter

4 Feb 11, 2022
discord voice bot to stream radio

Radio-Id Bot (Discord Voice Bot) Radio-id-bot (Radio Indonesia) is a simple Discord Music Bot built with discord.py to play a radio from some Indonesi

Adi Fahmi 20 Sep 20, 2022
Discord Auto bumper made in python, just a simple auto bumper that I made.

Discord Auto bumper made in python, just a simple auto bumper that I made.

XPTGR 0 Dec 04, 2021
Materials to reproduce our findings in our stories, "Amazon Puts Its Own 'Brands' First Above Better-Rated Products" and "When Amazon Takes the Buy Box, it Doesn’t Give it up"

Amazon Brands and Exclusives This repository contains code to reproduce the findings featured in our story "Amazon Puts Its Own 'Brands' First Above B

The Markup 60 Nov 11, 2022
toldium is a modular, fast, reliable and customizable multiplatform bot library for your communities

toldium The easy multiplatform bot toldium is a modular, fast, reliable and customizable multiplatform bot library for your communities, from a commun

Stockdroid Fans 5 Nov 03, 2021
Mass-unscrobble Last.fm scrobbles based on artist, track title, or time of day of the scrobble.

Unscrobbler This program is designed to mass-unscrobble Last.fm scrobbles based on artist, track title, or time of day of the scrobble. For example, i

Nathan 6 Nov 04, 2022
Stinky ID - A stable pluggable Telegram userbot + Voice & Video Call music bot, based on Telethon

Ultroid - UserBot A stable pluggable Telegram userbot + Voice & Video Call music

Riyan.rz 1 Jan 03, 2022
Pincer-bot-template - A template for a Discord bot created using the Pincer library

Pincer Discord Bot Template (Python) WARNING: Pincer is still in its alpha/plann

binds 2 Mar 17, 2022
Hermes Bytecode Reverse Engineering Tool (Assemble/Disassemble Hermes Bytecode)

hbctool A command-line interface for disassembling and assembling the Hermes Bytecode. Since the React Native team created their own JavaScript engine

Pongsakorn Sommalai 216 Jan 03, 2023
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005

Watermark-Bot A Telegram Video Watermark Adder Bot by @AbirHasan2005 Features: Save Custom Watermark Image. Auto Resize Watermark According to Video q

Abir Hasan 95 Nov 20, 2022
itadori webhook spammer fucker

itadori-webhook-spammer-fucker Installation # install the requirements $ python3 -m pip install -r requirements.txt $ python3 main.py Repl.it: https:/

6 Mar 05, 2022
Python client for the Echo Nest API

Pyechonest Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web. Pyechonest is an

The Echo Nest 655 Dec 29, 2022
Python Twitter API

Python Twitter Tools The Minimalist Twitter API for Python is a Python API for Twitter, everyone's favorite Web 2.0 Facebook-style status updater for

2.9k Dec 29, 2022
A module grouping multiple translation APIs

translatepy (originally: translate) An aggregation of multiple translation API Translate, transliterate, get the language of texts in no time with the

349 Jan 06, 2023
A cool discord bot, called Fifi

Fifi A cool discord bot, called Fifi This bot is the official server bot of Meme Studios discord server. This github repo is the code we use for the b

Fifi Discord Bot 3 Jun 08, 2021
A muti pairs martingle trading bot for Binance exchange.

multi_pairs_martingle_bot English Documentation A muti pairs martingle trading bot for Binance exchange. Configuration { "platform": "binance_futur

51bitquant 62 Nov 16, 2022
This Discord bot is to give timely notifications to Students in the Lakehead CS 2021 Guild

Discord-Bot Goal of Project The purpose of this Discord bot is to give timely notifications to Students in the Lakehead CS 2021 Guild. How can I contr

8 Jan 30, 2022
A simple test repo created following docker docs.

docker_sampleRepo A simple test repo created following docker docs. Link to docs: https://docs.docker.com/language/python/develop/ Other links: https:

Suraj Verma 2 Sep 16, 2022
Automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance frameworks.

aws-allowlister Automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance fr

Salesforce 189 Dec 08, 2022
ETL for tononkira.serasera.org

python-tononkiramalagasy-api Api Endpoints: ### get artists - /artists/int:page [page_offset = 20] ### get artist's songs, index was given by

Titosy Manankasina 1 Dec 24, 2021