Created
November 5, 2016 21:41
-
-
Save davidlyons/ccd979b2ea32deb4b530d71a3d9047e5 to your computer and use it in GitHub Desktop.
Shazam History Simple Text List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.