Skip to content

5hay/beatport-playlist-track-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beatport Playlist Link Extractor

A Chrome extension that extracts track links from Beatport playlists and displays them in a convenient format for copying. Works in all Chromium-based browsers including Google Chrome, Microsoft Edge, Brave, Vivaldi, and Opera.

Features

  • Works specifically on Beatport playlist pages (https://www.beatport.com/library/playlists/<id>)
    • this is your playlist - you need to be logged in
  • Extracts all track links from the current playlist
  • Displays links in a text area for easy viewing
  • Provides a copy button to quickly copy all links to clipboard
  • Compatible with all Chromium-based browsers

Installation

Developer Mode (Local Installation)

  1. Clone or download this repository to your computer
  2. Open your Chromium-based browser (Chrome, Edge, Brave, etc.) and navigate to the extensions page:
    • Chrome: chrome://extensions/
    • Edge: edge://extensions/
    • Brave: brave://extensions/
    • Other browsers will have a similar URL pattern
  3. Enable "Developer mode" by toggling the switch in the top-right corner
  4. Click the "Load unpacked" button
  5. Select the folder containing the extension files
  6. The extension should now appear in your extensions list and browser toolbar

How to Use

  1. Navigate to a Beatport playlist page (URL should match https://www.beatport.com/library/playlists/*)
  2. Click the extension icon in your browser toolbar
  3. Click the "Extract Links" button in the popup
  4. All track links will be displayed in the text area
  5. Click "Copy to Clipboard" to copy all the links for use elsewhere

Files Structure

  • manifest.json: Extension configuration
  • popup.html: UI for the extension popup
  • popup.js: JavaScript code for the popup functionality
  • contentScript.js: Script that runs on matching Beatport pages

Technical Details

The extension uses Chrome's scripting API to extract links from the Beatport playlist page using the following selector:

document.querySelectorAll('div.list-wrapper > div[data-rbd-draggable-context-id] div.container > a[title]')

Notes

  • This extension was written in like 5 minutes with the help of AI (I had the CSS selector already ready from previous manual playlist extractions)
  • This extension should work in any modern Chromium-based browser without modifications

About

A simple Chromium based extension to extract all track links of a user's playlist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published