Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("div.songlog").each(function() {
- var song = $.trim($(this).find('div.title').text());
- var artist = $(this).find('div.details div').text();
- var a = artist.toString().split(" - ");
- var artist = $.trim(a[0]);
- console.log(song + ' - ' + artist);
- });
Add Comment
Please, Sign In to add comment