Skip to content

Simple Node application for mass downloading KH Insider.

License

Notifications You must be signed in to change notification settings

ErnestoArtigas/khInsiderBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KH Insider Bot

Description

The project is a simple downloader written in Python. You need to provide a link and a format when using the command and it will donwload in the current directory. If the album folder already exists it won't overwrite it and just raise an error. If the format you entered isn't available it will list to you availables format before exiting the program.

This project isn't to diminish the khinsider project, the amount of work for preserving so much soundtrack is massive. It was a simple project to understand the scraping in python. Go donate to his website.

Roots

The first version of the project was written in NodeJS, as a side project for using the Pupeteer library and the node-downloader-helper package, respectively for accessing the various link and download each files. It was very rough on the edges, that is why I have changed the language and used scraping instead of a headless chrome window.

Dependencies

  • bs4 : Used to scrape the website.
  • numpy : Used to slice the format array with the most efficiency.
  • tqdm : Used to generate loading bar for each download.

Installation

pip install bs4 numpy tqdm colorama

Usage

For using the program you have to specify the album page link on khinsider and specify the format you want to use. This program won't convert the songs for you, you have to specify one format available for this specific album. If the format you use doesn't exist for this album the program will print to you available formats before exiting.

python main.py -f <format> -l <link/to/the/album>

The downloaded files will be stored into a specific folder for each album.

Issues

  • A GUI could be neat, it could be a cool idea for a future update.

About

Simple Node application for mass downloading KH Insider.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages