I'm trying to scrape data from Amazon.com for product prices, and no matter what I try I just can't seem to get it to work. The error it keeps throwing is
Imported XML content can not be parsed
My formula is:
=importxml(hyperlink(concatenate("http://",L$1, "/dp/", $B2)),"//*[@id='priceblock_ourprice']")
L1 is the geography (ex: "amazon.com")
B2 is the ASIN (ex: "B00ICR1UB6")
This same formula works just fine across all other geographies, but for some reason it just won't work on.com
这为我工作:
=importxml(hyperlink(concatenate("AMAZON_PRODUCT_PAGE_URL_HERE")),"//*[@id='priceblock_ourprice']")
Same issue here. Can't make any importxml formula work with amazon.com. For example: =IMPORTXML(Amazon-product-page-url,"//a[@id='brand']")
It works perfectly fine using the formula "XPathOnUrl" from SEO Tools for Excel but not in GDocs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.