Skip to content

WesSec/LSDB_archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSDB Scraper!

This tool helps you to archive livesets from LSDB!

Disclaimer

This is some hacky script i quickly wrote, it comes with absolutely no warranty or whatsoever, it works or it doesn't. You can try to open an issue on github
I am in no way associated with LSDB. If this script violates any kind of policy please let me know.

How does this work:

  1. Install the software
  2. Use the software
  3. ????
  4. Profit, and some saved livesets

Actually:

  1. It goes to LSDB by using the setID provided
  2. It gets the actual download URL
  3. It downloads the file
  4. It creates a folder for each "event" (e.g. "Qlimax 2010")
  5. It saves the file in the event folder (final result will be ../Qlimax 2010/Noisecontroller @ Qlimax 2009.mp3)

Example command:

python3 main.py - i 32941 -o /home/user/muziek

Installation instructions

The obvious:
git clone this repo
pip3 install -r requirements.txt
Make sure ffmpeg is installed, otherwise:
sudo apt install ffmpeg

Usage

Run python3 main.py with the desired arguments, -i or -l is required:
-i [SET ID]
-l [LIST WITH SET ID'S, a .txt file with each ID on a new line]
-o [OUTPUT LOCATION WITHOUT THE LAST SLASH, eg: /home/user/livesets]
You can find the set id by browsing lsdb.nl, searching for a set and look in the URL, eg:
lsdb.nl/set/**3052**/noisecontrollers-emporium-2008-31-05-08

You can set force_mp3 to true in the config.ini file. This way the software tries to convert the audio file to mp3 (when it's downloaded in m4a or something), no guarantees tho.

Works with the following services:

  • Mixcloud
  • Soundcloud
  • Archive.org
  • Youtube

TODO:

  • Create list for successful downloads and failed downloads so no duplicates will be downloaded
  • Option to download all sets from specific DJ
  • Option to download all sets from specific Event
  • Automatically save in event folders
  • Create a uniform formatting
  • Add metadata for easy searching (artist/event) to file
  • Add extra services

About

download sets from lsdb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages