I'm trying to parse an Amazon book product page. When assigning the img src URL to a variable, like from http://www.amazon.com/dp/0553524267
var image = $('#imgBlkFront').attr('src').split(/_(.+)?/)[0] + "jpg";
or
var image = document.getElementById("imgBlkFront").src.split(/_(.+)?/)[0] + "jpg";
The variable ends up being the image data: "data:image/jpeg:base64…". What I'd like to get is the http:// URL.