User Tools

Site Tools


wiki:music
extract spotify playlist
  1. open spotyfy link
  2. open dev console
  3. run script
Array.from($$('[data-testid="tracklist-row"]')).map(e => {
    const f = Array.from(e.querySelectorAll('span[class]')).map(e => e.textContent);
    return `${f[3] === 'E' ? f[4] : f[3]} - ${f[1]}`;
}).join("\n");
wiki/music.txt · Last modified: 2020/11/27 16:14 by kpc