I hereby claim:
- I am jwpeddle on github.
- I am jwpeddle (https://keybase.io/jwpeddle) on keybase.
- I have a public key whose fingerprint is 8B40 3789 5C34 E40D 6C6B ACEC DEB6 01FF 7A57 6936
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
walk(document.body); | |
function walk(node) | |
{ | |
// I stole this function from here: | |
// http://is.gd/mwZp7E | |
var child, next; | |
switch ( node.nodeType ) |
javascript:(function() { | |
track = 'Title\tArtist\tAlbum\tDuration\n'; | |
$('.PlaylistPage .Track') | |
.each(function() { | |
info = []; | |
info.push($(this).find('.name > a').text().trim()); | |
info.push($(this).find('.metadata > a:first').text().trim()); | |
info.push($(this).find('.metadata > a:nth-child(2)').text().trim()); | |
info.push('00:0' + $(this).find('.duration').text().trim()); | |
track += info.join('\t') + '\n'; |