All Projects → obskyr → thehylia

obskyr / thehylia

Licence: other
A script for The Hylia mass downloads. Get anime soundtracks quickly and easily! Also a Python interface.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to thehylia

anikimiapi
A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime.
Stars: ✭ 15 (-78.57%)
Mutual labels:  anime, download
crunchyroll-dl
A fast, modern, and beautiful Crunchyroll downloader.
Stars: ✭ 111 (+58.57%)
Mutual labels:  anime, download
anime-cli
A CLI for streaming, downloading anime shows. The shows data is indexed through GogoAnime.
Stars: ✭ 31 (-55.71%)
Mutual labels:  anime, download
anime2clothing
Pytorch official implementation of Anime to Real Clothing: Cosplay Costume Generation via Image-to-Image Translation.
Stars: ✭ 65 (-7.14%)
Mutual labels:  anime
Retrofit2Rxjava2Download
这是用Retrofit2和Rxjava2搭配封装的下载文件。
Stars: ✭ 19 (-72.86%)
Mutual labels:  download
madomagiOOP
👨‍💻♐ OOP learning with anime magical girl. (魔法少女で学ぶオブジェクト指向)🧙
Stars: ✭ 17 (-75.71%)
Mutual labels:  anime
moe.TV
watch bangumi on your tvOS
Stars: ✭ 25 (-64.29%)
Mutual labels:  anime
arm
A JSON-based database to relational mapping Anime ID's between MyAnimeList, Annict, AniList and Syoboi Calendar
Stars: ✭ 25 (-64.29%)
Mutual labels:  anime
anitrend-app
Track all your favorite Anime & Manga with AniTrend as it offers anime or manga lookup, tracking and reference powered by AniList
Stars: ✭ 138 (+97.14%)
Mutual labels:  anime
pyanime4k
An easy way to use anime4k in python
Stars: ✭ 80 (+14.29%)
Mutual labels:  anime
Anime-New-Tab
Collection of random anime theme wallpaper, bangumi list (bilibili) and other features of the Chrome new tab page plugin(动漫主题随机壁纸Chrome新标签页插件)
Stars: ✭ 18 (-74.29%)
Mutual labels:  anime
PyroGramBot
pluggable Telegram Bot based on Pyrogram
Stars: ✭ 168 (+140%)
Mutual labels:  download
coursehunters-video-downloader
Download videos from coursehunt for free - application
Stars: ✭ 26 (-62.86%)
Mutual labels:  download
luscious-downloader
🖼CLI tool for downloading albums from Luscious
Stars: ✭ 35 (-50%)
Mutual labels:  bulk-download
tanuki
🦊 Anime weekly schedule for Kitsu
Stars: ✭ 26 (-62.86%)
Mutual labels:  anime
multipart-download
Speed up download of a single file with multiple HTTP GET connections running in parallel
Stars: ✭ 29 (-58.57%)
Mutual labels:  download
Ritsu
A Discord Bot based on the AnimeMusicQuiz (AMQ) game, play using your MAL/Anilist animelist and with different game modes! ✨
Stars: ✭ 24 (-65.71%)
Mutual labels:  anime
UniBorg
Pluggable Telegram bot and userbot based on Telethon
Stars: ✭ 196 (+180%)
Mutual labels:  download
kitsu-season-trends
🦊 Kitsu seasonal anime trends
Stars: ✭ 13 (-81.43%)
Mutual labels:  anime
Treehouse-dl
Scipt allow download treehouse all videos and other stuff :3
Stars: ✭ 21 (-70%)
Mutual labels:  download

thehylia.py

thehylia.py is a Python interface for getting The Hylia soundtracks. It makes thehylia mass downloads a breeze. It's easy to use - check it!

From the command line:

thehylia.py yakitate-japan-original-soundtrack

As an import:

import thehylia
thehylia.download('yakitate-japan-original-soundtrack')
# And bam, you've got the Yakitate!! Japan soundtrack!

For video game music, check out khinsider.py.

Carefully put together by @obskyr!

Download it here!

Usage

Just run thehylia.py from the command line with the sole parameter being the soundtrack you want to download. You can either use the soundtrack's ID, or simply copy its entire URL. Easy!

If you want, you can also add another parameter as the output folder, but that's optional.

You can also download other file formats (if available), like FLAC or OGG, as following:

khinsider.py --format flac ano-natsu-de-matteru-op-single-sign

If you don't want to go to the actual site to look for soundtracks, you can also just type a search term as the first parameter(s), and provided it's not a valid soundtrack, thehylia.py will give you a list of soundtracks matching that term.

You're going to need Python (if you don't know which version to get, choose the latest version of Python 3 - thehylia.py works with both 2 and 3), so install that (and add it to your path) if you haven't already.

You will also need to have pip installed (if you have Python 3, it is most likely already installed - otherwise, download get-pip.py and run it) if you don't already have requests and Beautiful Soup 4. The first time khinsider.py runs, it will install these two for you.

For more detailed information, try running thehylia.py --help!

As a module

thehylia.py requires two non-standard modules: requests and beautifulsoup4. Just run a pip install on them (with pip), or just run thehylia.py on its own once and it'll install them for you.

Here are the main functions you will be using:

thehylia.download(soundtrackName[, path="", makeDirs=True, formatOrder=None, verbose=False])

Download the soundtrack soundtrackName. This should be the name the soundtrack uses at the end of its album URL.

If path is specified, the soundtrack files will be downloaded to the directory that path points to.

If makeDirs is True, the directory will be created if it doesn't exist.

You can specify formatOrder to download soundtracks in specific formats. formatOrder=['flac', 'mp3'], for example, will download FLACs if available, and MP3s if not.

If verbose is True, it will print progress as it is downloading.

thehylia.search(term)

Search khinsider for term. Return a list of Soundtracks matching the search term. You can then access soundtrack.id or soundtrack.url.

More

There's a lot more detail to the API - more than would be sensible to write here. If you want to use khinsider.py as a module in a more advanced capacity, have a look at the Soundtrack, Song, and File objects in the source code! They're documented properly there for your reading pleasure.

Is this khinsider.py except it's for The Hylia?

Yes. Yes, it is.

The creators of the sites were nice enough to use a very, very similar site structure, which made a The Hylia script not only very possible, but very easy (or, uh, it should've been, had I not gone all metaprogramming-y on it). It would absolutely be possible to have both in the same script, with an argument for which site to check / download from, but I feel the separation of them as two scripts is logical and easier to handle.

Talk to me!

You can easily get to me in these ways:

I'd love to hear it if you like thehylia.py! If there's a problem, or you'd like a new feature, submit an issue here on GitHub.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].