Posted By

bionickid on 09/26/11


Tagged

beatport rip


Versions (?)

Rip Beatport Tracks


 / Published in: JavaScript
 

http://www.beatport.com/my-beatport?perPage=150

  1. trs = $('table.track-grid.track-grid-browse tr.track-grid-content');
  2. var tracklist = '';
  3.  
  4. $.each(trs, function() {
  5. var song = '';
  6. song += $.trim($(this).find('td:eq(3)').text());
  7. song += ' - ';
  8. song += $.trim($(this).find('td:eq(2)').text());
  9.  
  10. tracklist += song + "\n";
  11. });
  12.  
  13. alert(tracklist);

Report this snippet  

You need to login to post a comment.