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
A simple API wrapper for Discord written in Python.

AIOCord This project is work in progress not for production use A simple asynchronous API wrapper around Discord API written in Python. Inspiration Th

Izhar Ahmad 3 Dec 07, 2021
Zero2 Discord bot is written with Discord.py using Python.

Zero2 Discord bot is written with Discord.py using Python.

Siva Avanish 4 Nov 08, 2021
Rust UserBot, Telegram istifadəsini asanlaşdıran bir proyektdir.

RUST USERBOT 🇦🇿 Rust UserBot, Telegram istifadəsini asanlaşdıran bir proyektdir. Qurulum Heroku Serverə qurulum git clone https://github.com/rustres

1 Oct 25, 2021
Python linting made easy. Also a casual yet honorific way to address individuals who have entered an organization prior to you.

pysen What is pysen? pysen aims to provide a unified platform to configure and run day-to-day development tools. We envision the following scenarios i

Preferred Networks, Inc. 452 Jan 05, 2023
Raphtory-client - The python client for the Raphtory project

Raphtory Client This is the python client for the Raphtory project Install via p

Raphtory 5 Apr 28, 2022
Best Buy Bot used to add products to cart for purchase.

To Install the Best Buy Bot These instructions are for Mac users only. Clone this Repo to your machine. BestBuyBot Open in VScode. Is Python installed

Robert Estrella 1 Dec 11, 2021
A PowerFull Telegram Mirror Bot.......

- [ DEAD REPO AND NO MORE UPDATE ] Slam Mirror Bot Slam Mirror Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Interne

αвιנтн 2 Nov 09, 2021
Example app to be deployed to AWS as an API Gateway / Lambda Stack

Disclaimer I won't answer issues or emails regarding the project anymore. The project is old and not maintained anymore. I'm not sure if it still work

Ben 123 Jan 01, 2023
A Bot that Forwards Tweets to Telegram using Airtable as a database.

Twitter Telegram Forward A Bot that Forwards Tweets to Telegram using Airtable as a Database. Features: Handles multiple twitter and telegram channels

George Bakev 3 Dec 21, 2022
1 Feb 18, 2022
Exporta archivos masivamente del TEC Digital.

TEC Digital Files Exporter Script que permite exportar los archivos de cursos del TEC Digital del Instituto Tecnológico de Costa Rica, debido al borra

Joseph Vargas 22 Apr 08, 2021
This checks that your credit card is valid or not

Credit_card_Validator This checks that your credit card is valid or not. Where is the app ? main.exe is the application to run and main.py is the file

Ritik Ranjan 1 Dec 21, 2021
This is a simple bot for running Python code through Discord

Python Code Runner Discord Bot This is a simple bot for running Python code through Discord. It was originally developed for the Beginner.Codes Discor

beginner.py 1 Feb 14, 2022
Python client for Midea dhumidifier

This is a library that allows communication with Midea dehumidifier appliances via the local area network. midea-beautiful-dehumidifier This library a

Nenad Bogojevic 42 Dec 22, 2022
Manage gmail account using python, forget about imap and just code what you supposed to do.

GGmail Manage gmail account using python, forget about imap and just code what you supposed to do. Help See documentation for more details. Install In

Dylan Do Amaral 6 Sep 23, 2022
A simple Python wrapper for the archive.is capturing service

archiveis A simple Python wrapper for the archive.is capturing service. Installation pipenv install archiveis Python Usage Import it. import archi

Ben Welsh 157 Dec 28, 2022
This is a script to forward forward large number of documents to another telegram channel.

ChannelForward 😇 This is a Script to Forward Large Number of Documents to Another Telegram Channel. If You Try to Forward Very Large Number of Files

Anjana Madushanka 10 Jun 08, 2021
Python functions to run WASS stereo wave processing executables, and load and post process WASS output files.

wass-pyfuns Python functions to run the WASS stereo wave processing executables, and load and post process the WASS output files. General WASS (Waves

Mika Malila 3 May 13, 2022
Bot for tenhou.net riichi mahjong server written in Python

[Tests coverage] Bot was tested with Python 3.7+ and PyPy3, we are not supporting Python 2. What do we have here? Mahjong hands calculation You can fi

190 Jan 06, 2023
Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

16 Mar 29, 2022