Scraping Yahoo looks like a mess to me. Just tried. Then I tried google and this is the string you would look for: ["SB","Safe Bulkers, Inc.","3.42"
["SB" - is only there once - an unique entry. So, you would look for ["your symbol" Good Luck !
-----
@hayman - on the other hand admin = nixon keeps writing: "UPDATE: It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to...