Skip to content

Instantly share code, notes, and snippets.

@davidlyons
Created November 5, 2016 21:41
Show Gist options
  • Save davidlyons/ccd979b2ea32deb4b530d71a3d9047e5 to your computer and use it in GitHub Desktop.
Save davidlyons/ccd979b2ea32deb4b530d71a3d9047e5 to your computer and use it in GitHub Desktop.
Shazam History Simple Text List
var list = [];
$('.ti__container').each(function(){
var title = $.trim( $(this).find('.ti__title a').text() );
var artist = $(this).find('.ti__artist').find('meta').prop('content');
var date = $.trim( $(this).find('.ti__date').text() );
list.push( title + ' - ' + artist + ' - ' + date );
});
list = list.join('\n');
console.log( list );
@davidlyons
Copy link
Author

davidlyons commented Nov 5, 2016

  1. go to shazam.com/myshazam
  2. keep scrolling down until you can't scroll any more to load your entire history
  3. paste this gist in the console to get a shareable list
  4. facepalm because Shazam doesn't have public profile URLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment