Yahoo finance quotes retrieval failing
- From: bgoosh <9fyh-t1fo@xxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 00:22:10 -0700
I have a simple old Perl script that retrieves stock quotes, the
essence of which does:
$yahoo_string = "/d/quotes.csv\?s=$symbol_list&f=sl9d1t1&e=.csv";
# Go and get the quotes
$FH = getwww ("quote.yahoo.com", 80, $yahoo_string);
It's worked fine for years; sometime between 8/21/07 and 8/28/07
it stopped working. Now instead of a CSV list I get a Yahoo web
page response complaining about "HTTP/1.1 400 Bad Request" and
also:
Sorry, Bad Request.
Your browser sent a request that this server could not
understand. client sent HTTP/1.1 request without hostname (see
RFC2616 section 14.23):
/d/quotes.csv
I poked around on the web and couldn't find any recent mention of
this. (There are lots of examples using this yahoo site/page; I
also tried finance.yahoo.com and it fails the same way). Also, I
can find no way of contacting Yahoo.
Anybody know how to fix this?
Or, I recall reading about a package Finance:Quotes or something
like that, does that still work? If so I could probably change
my script to use that instead.
--
You're only as old as you feel... the next day.
.
- Follow-Ups:
- Re: Yahoo finance quotes retrieval failing
- From: Ben Morrow
- Re: Yahoo finance quotes retrieval failing
- Prev by Date: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.8 $)
- Next by Date: HEAD OF TECHNOLOGY
- Previous by thread: FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?
- Next by thread: Re: Yahoo finance quotes retrieval failing
- Index(es):
Relevant Pages
|