Thu, 22 Feb 2007

Bug fix release of Finance::YahooQuote

Following up on the patch mentioned earlier, a new bug-fix release 0.22 of Finance::YahooQuote has been uploaded to Debian, CPAN and my yahooquote pages here. I also updated the Freshmeat record.

/computers/linux/debian/packages | permanent link

Yahoo! URL changes and Finance::YahooQuote, and hence Beancounter, breakage

Looks like Yahoo! Finance changed their server layout.

Data scraping via tools like my Finance::YahooQuote, and those that use it such as my Beancounter toolkit, are therefore inoperational. As a first quick fix, apply the following patch to YahooQuote.pm:

--- YahooQuote.pm.orig  2005-07-17 13:10:20.000000000 -0500
+++ YahooQuote.pm       2007-02-22 18:50:07.000000000 -0600
@@ -34,7 +34,7 @@
 $VERSION = '0.21';

 ## these variables govern what type of quote the modules is retrieving
-$QURLbase = "http://quote.yahoo.com/d?f=";
+$QURLbase = "http://download.finance.yahoo.com/d/quotes.csvr?e=.csv&f=";
 $QURLformat = "snl1d1t1c1p2va2bapomwerr1dyj1x";        # default up to 0.19
 $QURLextended = "s7t8e7e8e9r6r7r5b4p6p5j4m3m4";        # new in 0.20
 $QURLrealtime = "b2b3k2k1c6m2j3"; # also new in 0.20
I will hope to have a first new package out later.

/computers/linux/debian/packages | permanent link