web scraping - Why is ImportXML not working for a specific field while trying to scrape kickstarter.com? -


i trying screen scrape funding status of specific kickstarter project. using following formula in google spreadsheet, trying here $ amount of project's funding status:

=importxml("http://www.kickstarter.com/projects/1904431672/trsst-a-distributed-secure-blog-platform-for-the-o","//data[@class='project942741362']") 

it returns #n/a in cell, comment:

error: xpath query did not return data.

when try using importxml on other parts of same webpage seems work well. please point out doing wrong here?

it seems tag "data" not correctly parsed.

a choice of workaround may be:

=regexextract(importxml("http://...", "//div[@id='pledged']"), "^\s*") 

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -