yadayada Posted November 27, 2014 Share Posted November 27, 2014 All i get is error :/. I want to track the price of these: http://finance.yahoo.com/q?s=OUTR160115C00050000 In google docs. What is the command for that? I want to punch my monitor at this point. Link to comment Share on other sites More sharing options...
writser Posted November 27, 2014 Share Posted November 27, 2014 Have you even tried searching the forum first? http://www.cornerofberkshireandfairfax.ca/forum/general-discussion/google-spreadsheet-tips-and-tricks/ Link to comment Share on other sites More sharing options...
yadayada Posted November 27, 2014 Author Share Posted November 27, 2014 yeah i did... All I get is error's. I am completely clueless with this type of stuff. Link to comment Share on other sites More sharing options...
investor-man Posted November 27, 2014 Share Posted November 27, 2014 =Substitute(importXML("http://finance.yahoo.com/q?s=OUTR160115C00050000","//*[@id=yfs_l10_outr160115c00050000]"),"*","") If you've got Chrome, you can right click the thing you want to scrape, click "inspect element". Then another frame pops up with the html of the thing you inspected. Right click that and select "Copy XPATH". That's the second argument to the importXML function (//*[@id=yfs_l10_outr160115c00050000]). I know that's confusing. PM me if you want to do a google hangout and I can share my screen to walk you through it. I'm on vacation until Monday, but can do a hangout after that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now