![]() There's a lot more detail to the API - more than would be sensible to write here. You can then access soundtrack.id or soundtrack.url. Return a list of Soundtracks matching the search term. If verbose is True, it will print progress as it is downloading. formatOrder=, for example, will download FLACs if available, and MP3s if not. You can specify formatOrder to download soundtracks in specific formats. If makeDirs is True, the directory will be created if it doesn't exist. If path is specified, the soundtrack files will be downloaded to the directory that path points to. This should be the name the soundtrack uses at the end of its album URL. Here are the main functions you will be using: khinsider.download(soundtrackName)ĭownload the soundtrack soundtrackName. Just run a pip install on them (with pip), or just run khinsider.py on its own once and it'll install them for you. Khinsider.py requires two non-standard modules: requests and beautifulsoup4. The first time khinsider.py runs, it will install these two for you.įor more detailed information, try running khinsider.py -help! As a module 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. You're going to need Python (if you don't know which version to get, choose the latest version of Python 3 - khinsider.py works with both 2 and 3), so install that (and add it to your path) if you haven't already. 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, khinsider.py will give you a list of soundtracks matching that term.
0 Comments
Leave a Reply. |