Skip to content
Advertisement

Tag: amazon-ec2

Deploying PERN stack on AWS issue

So I’m frustrated with this process I’ve watched the same tutorial a bunch on times https://www.reddit.com/r/reactjs/comments/jeuwvi/deploying_full_stack_app_on_ubuntuaws_postgres/. Everything seems perfect but the frontend doesn’t seem to be making contact with the backend. Using xginx and pm2. In the config for the xginx my locations look like this I’m not even sure if this is where the issue lies. I can hit

scrape ASIN from amazon URL using javascript

Assuming I have an Amazon product URL like so How could I scrape just the ASIN using javascript? Thanks! Answer Amazon’s detail pages can have several forms, so to be thorough you should check for them all. These are all equivalent: http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C http://www.amazon.com/dp/B0015T963C http://www.amazon.com/gp/product/B0015T963C http://www.amazon.com/gp/product/glance/B0015T963C They always look like either this or this: This should do it:

Advertisement