Giter VIP home page Giter VIP logo

nautica-downloader's Introduction

nautica-downloader

download files from nautica (ksm.dev)

Usage

npm install
node nautica-downloader.js [flags...] # downloads all songs

This will create a nautica directory in the same place where the script is ran and download songs into there.

You can skip the npm install step and replace node nautica-downloader.js with nautica-downloader.exe if using a distributed version.

Flags

  • --user user_id
    • Instead of downloading all songs, downloads only songs uploaded by a specific user.
  • --song song_id
    • Downloads a specific song.
  • --continue
    • nautica-downloader keeps track of the last time a song was downloaded. By default, nautica-downloader stops execution after 5 consecutive songs are already marked as downloaded. To force the script to continue checking songs, pass along the continue flag.

Zip Encoding

Zip encoding is an absolute mess. nautica-downloader extracts zips using the SHIFT_JIS character encoding, as this provides the correct filenames for a large majority of zip files. However, since Nautica (the website) doesn't care that much about the zip files uploaded, it's possible that a zip file with an incompatible encoding gets uploaded.

If this happens, K-Shoot Mania will most likely throw a Error 12 when launching the game. Delete the song in question (usually either the directory or the files within have some mojibake like "ÉwÉìÉÉãÇ∆ÉOÉåÅÉeÉã" in their names) and the game should launch again. If this happens, please send a message to [email protected] to have the song marked in the database as "produces mojibake", which will prevent it from being downloaded via this script.

Build and Release

Assuming that you've installed pkg (npm install -g pkg), just run pkg -t node10-win-x64 nautica-downloader.js.

nautica-downloader's People

Contributors

puddi avatar dependabot[bot] avatar

Stargazers

 avatar Daniel Tao avatar Darius avatar  avatar Anastasia Valerie Rutter avatar

Watchers

James Cloos avatar  avatar

nautica-downloader's Issues

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.