Giter Club home page Giter Club logo

bcdler's Introduction

Bandcamp track downloader

A Mozilla Firefox extension to download the free tracks you stream on Bandcamp so you can listen to them later.

Usage

Navigate to an album page then click the extension button to download all tracks.

Contributing

Please submit or fix an issue!

Testing

MDN: How to load a temporary Add-on

Packaging the extension for distribution

npx web-ext build

MDN: Package your extension

bcdler's People

Contributors

davidlpoole avatar

Watchers

 avatar

bcdler's Issues

include album art

Use the img src;

<a class="popupImage" href="">
    <img src="">
</a>

Add metadata

Required metadata:

  • Artist name
  • Album name
  • Track name
  • Potentially also add album art (issue #4)

download a whole album in one go

work out whether it's possible to download a whole album in one go, including the filenames.

at the moment you open a track and press play.

otherwise if you play a file from the album page it will probably just name it track.mp3
maybe there's just a better way to pick up the names, but it would depend which one is clicked.

so maybe get the element which lists the tracks, then loop over those in the script, downloading each one?

url: .../album/

Get album and artist name from page title, split by ' | '
<title>albumName | artistName<title>

then find track_table

<table class="track_list track_table" id="track_table">

and loop over id: track_row_view
get the track num from rel
<tr class="track_row_view linked" rel="tracknum=1">

get track title from
track title

Improve the filenaming

At the moment it outputs the filename like:
track from album by artist

it should be (I think):
artist - album - track

It doesn't really matter but the aim is to be able to parse the filename to add metadata to the mp3 somehow so when it's imported into itunes or whatever it will automatically have the correct details.

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.