You could do it in node.js with an http request to the page, then screen scrape the page for information. I’m sure they have standard css selectors, so you just look for those with regular expressions and get their values.
The code would look something like this (I haven’t tested this code, but riffed on David Walsh’s work here: https://davidwalsh.name/nodejs-http-request)
var http = require('http');
function getAmazonPageContent(callback) {
return http.get({
host: 'www.amazon.com',
path: '/What-Node-Brett-McLaughlin-ebook/dp/B005ISQ7JC/ref=sr_1_1?ie=UTF8&qid=1492187829&sr=8-1&keywords=node.js'
}, function(response) {
// Continuously update stream with data
var body = '';
response.on('data', function(d) {
body += d;
});
response.on('end', function() {
// Data reception is done, do whatever with it!
callback(body);
});
});
}
4
solved Is there a free way to utilise Amazon API without AWS? [closed]