Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log(Array.prototype.slice.call(document.querySelectorAll('.playlist-landing ol li a')).map(function(a) { return a.getAttribute('href').match(/(v=[^&]+)/)[1] + ' ' + a.innerHTML.match(/(class="title.*?)<\/span>/)[1].replace(/.*>/,''); }).join("\n"))
Add Comment
Please, Sign In to add comment