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
Wrapper around the Mega API

python-mega Overview Wrapper around the Mega API. Based on the work of Julien Marchand. Installation Install using pip, including any optional package

Juan Riaza 104 Nov 26, 2022
Soundcloud Music Downloader

Soundcloud Music Downloader Description This script is able to download music from SoundCloud and set id3tag to the downloaded music. Compatible with

Ronan 2.6k Jan 01, 2023
You have 3 files: create mass groups, add mass members, rename all groups (only educational use!)

EDUCATIONAL ONLY! HOW TO INSTALL Edit config.json with your discord account token and the imagepath (if its in the same location as the all_together.p

46 Dec 27, 2022
DongTai API SDK For Python

DongTai-SDK-Python Quick start You need a config file config.json { "DongTai":{ "token":"your token", "url":"http://127.0.0.1:90"

huoxian 50 Nov 24, 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

Florent 1 Dec 17, 2021
Track to Detect and Segment: An Online Multi-Object Tracker (CVPR 2021)

Track to Detect and Segment: An Online Multi-Object Tracker (CVPR 2021) Track to Detect and Segment: An Online Multi-Object Tracker Jialian Wu, Jiale

Jialian Wu 520 Dec 31, 2022
Userbot untuk memutar video dan lagu di vcg/os

Userbot untuk memutar video dan lagu di vcg/os

FJ_GAMING 2 Nov 13, 2021
Pyspark sam - Analyze Big Sequence Alignments with PySpark in AWSย EMR

pyspark_sam This repo hosts my code for the article "Analyze Big Sequence Alignm

Sixing Huang 4 Dec 09, 2022
100d002 - Simple program to calculate the tip amount and split the bill between all guests

Day 2 - Tip Calculator Simple program to calculate the tip amount and split the

Andre Schickhoff 1 Jan 24, 2022
A collection of scripts to steal BTC from Lightning Network enabled custodial services. Only for educational purpose! Share your findings only when design flaws are fixed.

Lightning Network Fee Siphoning Attack LN-fee-siphoning is a collection of scripts to subtract BTC from Lightning Network enabled custodial services b

Reckless_Satoshi 14 Oct 15, 2022
Userbot Telegram dengan Telethon

FLICKS - UBOT Repo FLICKS UBOT Repo Yang Dibuat Oleh Rizzz Dari beberapa Repo Yang Ada Di Github. Generate String Using Replit โคต๏ธ DEPLOY TO HEROKU Sup

FJ_GAMING 14 May 16, 2022
A Telegram bot to download from Youtube server.

IDN-YoutubeDL-Bot A Telegram bot to download from Youtube server. Configs ๐Ÿ“– API_ID - Your APP ID. Get it from my.telegram.org API_HASH - Your API_HAS

IDNCoderX 4 Dec 02, 2022
ServiceX DID Finder Girder

ServiceX_DID_Finder_Girder Access datasets for ServiceX from yt Hub Finding datasets This DID finder is designed to take a collection id (https://gird

1 Dec 07, 2021
A Telegram user bot to count telegram channel subscriber or group member.

Subscriber Count Userbot A Telegram user bot to count telegram channel subscriber or group member. This tool is only for educational purpose. You coul

IDNCoderX 8 Nov 30, 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

Jyoti prakash Rout 1 Jan 08, 2022
A Python Discord bot project generator

Heater Heat up a Discord bot in a blink What is Heater? Heater is a Command Line Interface tool which allows you to generate a barebones Python Discor

DevGuyAhnaf 5 Jan 14, 2022
IdeasBot - Funny telegram bot to generate ideas for a project

Repository of PIdeas_bot About Funny telegram bot for generating projects ideas.

Just Koala 5 Oct 16, 2022
Telegram vc userbot

Telegram Vc Userbot Available Commands /ping :- To check whether userbot is up or not /joinvc :- To join vc /leavevc :- To leave vc /join_group :- To

NandyDark 7 Nov 18, 2022
AWS Lambda Fast API starter application

AWS Lambda Fast API Fast API starter application compatible with API Gateway and Lambda Function. How to deploy it? Terraform AWS Lambda API is a reus

OBytes 6 Apr 20, 2022
Zendesk Ticket Viewer is a lightweight commandline client for fetching and displaying tickets from a Zendesk account provided by the user

Zendesk Ticket Viewer is a lightweight commandline client for fetching and displaying tickets from a Zendesk account provided by the user.

Parthesh Soni 1 Jan 24, 2022