Permalink
Browse files

Changed the xpath expression from using a span tag to a p tag for the…

… volume.
  • Loading branch information...
1 parent 62e9a98 commit 098ee3278a62e1aab662fdacbe5ca6b42669e4cc Thomas Fowler committed Feb 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 yahoo/finance/yahoo.finance.options.xml
@@ -111,7 +111,7 @@
changeDir = tr.td[3].span.img.@alt.toString();
bid = parseFloat( tr.td[4].span.text() );
ask = parseFloat( tr.td[5].span.text() );
- volStr = tr.td[6].span.text();
+ volStr = tr.td[6].p.text();
vol = volStr.toInt();
openIntStr = tr.td[7].p.text();
openInt = openIntStr.toInt();

0 comments on commit 098ee32

Please sign in to comment.