Giter Club home page Giter Club logo

karaoker's Introduction

karaoker

Mass download karaoke songs from https://usdb.animux.de/.

Instructions

Prerequisites:

Preparation:

  1. Login to animux and note down your PHPSESSID cookie (using developer settings, section storage)
  2. Set up correct paths and variables in constants.yaml (alternatively set corresponding environment variables)
  3. Install the requirements to your python environment using pip install -r requirements.txt
  4. Optionally create a song list, see section below

If you try to download age restricted youtube video, the download will fail. To proceed, set INTERACTIVE_AUTHENTICATION=true in constants.yaml or as an environment variable, then you will be prompted to login to YouTube (via pytube).

Whatever you set as FINAL_DIRECTORY is ready to be used by UltraStar Deluxe. Your existing songs will not be affected. Files existing in FINAL_DIRECTORY will not be overriden. For example, if you modify song offset in an already downloaded .txt file, it will not be overriden by karaoker.

When you are ready, run

python main.py

to download all songs from the song list or

python main.py "ARTIST1;TITLE1" "ARTIST2;TITLE2;NUMBER;LANGUAGE" ...

to download a songs without using song list.

Explanation: song list

This is a list of all the songs you want to download. You don't need to create it, but using it will help you to recreate your song library whenver you need.

Each line in this file is a download query in form:

ARTIST;TITLE;MAX_SONGS_TO_DOWNLOAD;LANGUAGE

You can leave some of the fields blank. If more than 1 song matches your query, they will be sorted in the order of popularity on animux and downloaded. For example:

  • You can use query ABBA;;10 to download 10 most popular ABBA songs
  • You can specify the title like AC/DC;Back in Black, then the number of songs to download defaults to 1
  • You can use ;;10;english to download 10 most popular english songs

Example song list content

# My favourite songs
Skillet;;5
Skillet;Feel Invincible
Andrzej Zaucha;Gumisie

# Hits that everyone knows
;;20;english
;;20;polish

# Songs for my dad
Abba;;10
AC/DC;Back in Black
AC/DC;Highway To Hell
Aerosmith;;4
Aerosmith;Cryin’

Troubleshotting

Q: How do I find PHPSESSID?

Other options


You can specify different constants.yaml file:

python main.py --constants /PATH/TO/CONSTANTS.yaml

karaoker's People

Contributors

sjmikler avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.