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
Pycardano - A lightweight Cardano client in Python

PyCardano PyCardano is a standalone Cardano client written in Python. The librar

151 Dec 31, 2022
This is a repository for the Duke University Cloud Computing course project on Serveless Data Engineering Pipeline. For this project, I recreated the below pipeline.

AWS Data Engineering Pipeline This is a repository for the Duke University Cloud Computing course project on Serverless Data Engineering Pipeline. For

15 Jul 28, 2021
Open Source Discord bot with many cool features like Weather, Balance, Avatar, User, Server, RP-commands, Gif search, YouTube search, VK post search etc.

Сокобот Дискорд бот с открытым исходным кодом. Содержит в себе экономику, полезные команды (!аватар, !юзер, !сервер и тд.), рп-команды (!обнять, !глад

serverok 2 Jan 16, 2022
Based on falcondai and fenhl's Python snowflake tool, but with documentation and simliarities to Discord.

python-snowflake-2 Based on falcondai and fenhl's Python snowflake tool, but with documentation and simliarities to Discord. Docs make_snowflake This

2 Mar 19, 2022
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
Inline Телеграм бот для отправки GIF-изображений из ВКонтакте

VK GIFS Bot VKGIFSBot - удобный бот для отправки GIF-изображений из ВКонтакте в Телеграмe. Работает это очень просто: бот получает токен ВКонтакте API

Sergievsky Nikita 5 Dec 10, 2022
This bot will send you an email or notify you via telegram & discord if dolar/lira parity breaks a record.

Dolar Rekor Kırdı Mı? This bot will send you an email or notify you via Telegram & Discord if Dolar/Lira parity breaks a record. Mailgun can be used a

Yiğit Göktuğ Budanur 2 Oct 14, 2021
Versatile async-friendly library to retry failed operations with configurable backoff strategies

riprova riprova (meaning retry in Italian) is a small, general-purpose and versatile Python library that provides retry mechanisms with multiple backo

Tom 108 Apr 27, 2022
Recommended AWS CDK project structure for Python applications

Recommended AWS CDK project structure for Python applications The project implements a user management backend component that uses Amazon API Gateway,

AWS Samples 110 Jan 06, 2023
Brute force instagram account / actonetor, 2021

Brute force instagram account / actonetor, 2021

actonetor 6 Nov 16, 2022
A Discord bot that rewards players in Minecraft for sending messages on Discord

MCRewards-Discord-Bot A Discord bot that rewards players in Minecraft for sending messages on Discord How to setup: Download this git as a .zip, or cl

3 Dec 26, 2021
A simple API Wrapper for Guilded.

Guildr A simple API Wrapper for Guilded. Frequently updated! I am not a user of Guilded, meaning I do not keep track of new Guilded updates or patches

2 Mar 07, 2022
Send GitHub Issues, PRs or Discussions Updates to Wechat

Send GitHub Issues, PRs or Discussions Updates to Wechat

Hollow Man 2 Jul 12, 2022
Netflix Movies and TV Series Downloader Tool including CDM L1 which you guys can Donwload 4K Movies

NFRipper2.0 I could not shared all the code here Because its has lots of files inisde it https://new.gdtot.me/file/86651844 - Downoad File From Here.

Kiran 15 May 06, 2022
Discord Bot for Genshin Impact Wish Simulating

Genshin Inpact Wish Simulation Discord Bot Bot Links Invite Reddit Official Discord Features Discord embed reaction menu for wishes Simple code scalin

Jeffrey Shum 2 Jan 04, 2023
Univerity-student oriented (lithuanian) discord bot

Univerity-student oriented (lithuanian) discord bot

3 Nov 30, 2021
This bot plays the most recent video from the Daily Silksong News Youtube Channel whenever a specific user enters voice chat once a day.

Do you have that one friend that really likes Hollow Knight. Are they waiting for Silksong to come out? Heckle them with this Discord bot.

Tommy Rousey 2 Feb 09, 2022
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

0 Jan 20, 2022
Battle Pass farming tft bot

Tft bot Bot para farmar pontos do Passe de Batalha do TFT Descrição A cada partida de tft jogada você ganha 100 pontos no passe, porém você não precis

Leonardo Gonçalves 4 Jan 27, 2022
A qq bot based on nonebot2 and go-cqhttp

Asoul-bot A qq bot based on nonebot and go-cqhttp 你可以将bot部署在本地,也可以加入bot测试群:784280070(全体禁言) 你可以通过临时会话的方式向bot发送指令,输入help获取帮助菜单 本地部署请参考:https://zhuanlan.

11 Sep 23, 2022