Z
Z
Zimaell2018-12-18 17:12:52
Parsing
Zimaell, 2018-12-18 17:12:52

How to get the quantity and price of goods from Amazon (parser without API)?

Where can I get the exact quantity of the product and its price on Amazon?
I use a parser (curl PHP) and collect this data from the product page at its link, but it is not always possible to get the exact quantity there and the price is not always in one place, so there are already several different developments from where to tear it out.
Does anyone know where I can get more detailed information?
Ps - API 100% disappears for some reason (they do not give access, a store is needed, etc.)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex-1917, 2018-12-19
@alex-1917

one . Here, did not try to take the price? It seems that this piece has been with them all their lives ...

<script type="a-state" data-a-state="{'key':'vas-common-vm'}">
{
"isProductAvailable":true,
"zipCode":"",
"attachToLdbb":false,
"showEnhancedUpsellBundle":"false",
"multiQuantityPurchaseEnabled":false,
"hijackMBCATC":false,
"productAsin":"B078DPCY3T",
"serviceAsin":"",
"sessionId":"",
"showSIATC":false,
"productPTD":"COMPUTER_DRIVE_OR_STORAGE",
"showUnifiedGuruExperience":false,
"doRedirect":false,
"showSTSServiceInterstitial":false,
"hijackATC":false,
"productWDG":"pc_display_on_website",
"isCBM":false,
"defaultServiceAsinToOffer":"",
"buyboxPrice":"$147.00",
"isWarrantyPresent":false,
"shouldSuppressWidget":false,
"offerListingID":"",
"isVariationalParent":false
}
</script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question