Grab Mixcloud URLs

If you’re trying to create a list of bookmarks for your favourite songs in Mixcloud, you might want to save the URLs for a whole page of mixes.

You can do that by open the devtools console of your browser and running this snippet of JS:

[...document.querySelectorAll('img')]
  .filter(e => e.width === 144)
  .reduce((accum,curr) => {
    accum += `${curr.parentElement.parentElement.href}\n`
    return accum
  }, '')

comments powered by Disqus