notes/phantomjs-list-all-in-class.js
var page = require('webpage').create();
var url = 'http://filmsbykris.com';

page.open(url, function(status) {
  // list all the a.href links in the hello kitty etsy page
  var links = page.evaluate(function() {
    return [].map.call(document.querySelectorAll('img.img-responsive'), function(link) {
      return link.getAttribute('src');
    });
  });
  console.log(links.join('\n'));
  phantom.exit();
});



syntax highlighted by Code2HTML, v. 0.9.1