diff --git a/scrapers/mixcloud.com.js b/scrapers/mixcloud.com.js index c16435e..f628f75 100644 --- a/scrapers/mixcloud.com.js +++ b/scrapers/mixcloud.com.js @@ -1,20 +1,20 @@ /** * Mixcloud Playlist Scraper * Created by: Matthias Gutjahr - * Version: 0.1 + * Version: 0.2 * * Notes: * - * To test, go to http://blip.fm/all + * To test, go to http://www.mixcloud.com/DronesOfHell/drones-of-hell-24th-feb-2013-resonance-1044fm/ */ Playgrub.source.url = 'mixcloud.com'; Playgrub.source.error = 'Sorry, no suitable songs could be found'; Playgrub.source.scrape = function() { - $(".cloudcast-long-box").each(function () { - var artist = $(this).find('.cloudcast-creator').html(); - var title = $(this).find('.cloudcast-name').html(); + $(".tracklistcell").each(function () { + var artist = $(this).find('.tracklistartistname').html(); + var title = $(this).find('.tracklisttrackname').html(); Playgrub.playlist.add_track(artist, title); }); } -Playgrub.source.start(); \ No newline at end of file +Playgrub.source.start();