hsfrey has asked for the wisdom of the Perl Monks concerning the following question:

Is there anyone here interested or experienced in scraping Yahoo financial info?

I have a problem which may be related to perl or to Yahoo, but it's kind of complicated, and I don't want to bother people if there's no one interested.

In brief, I'm downloading a multi-page data set from Yahoo Stock history, but random pages are incorrect each time, even though neither the program nor the data have changed.

Yes, I could use Yahoo's download option, which gives me stable data in a CSV file, but I don't want to make the user have to fiddle with setting the options on the Yahoo page.

Replies are listed 'Best First'.
Re: Scraping Yahoo stock histories
by bitingduck (Deacon) on Jun 18, 2012 at 02:54 UTC

    You might as well post some code and the links you're trying to scrape. You can even add them as edits to the original post to make it easier to find (and note what you've added). People are likely to help even if they don't have a particular interest in the Yahoo stock pages in particular. Use <code> tags around your code, and if it's long it's worth wrapping <readmore> tags around it. See Markup in the Monastery for more details.

Re: Scraping Yahoo stock histories
by ajinkyagadewar (Novice) on Jul 04, 2012 at 09:42 UTC
    Finance::QuoteHist::Yahoo from CPAN might solve your problem.
    Regards, Ajinkya