How to load data from yahoo using Perl?

I am trying to get yahoo parameter data in mysql using perl. I found that modules load stock prices, but not parameters. Does anyone know what would be the easiest way to do this? If I have to fold my own, which modules should I use? Thanks, CP

+4
source share
2 answers

I do not know any special modules for Yahoo! Finance options, but if you want to collapse your own, you can LWP :: UserAgent download this page and something like HTML :: TreeBuilder to parse it. If the specific option is the one you need for the data, Yahoo! may even offer an RSS feed of their data, in which case it is probably safer to use something like XML :: RSS to parse the feed.

Do you have a link to a page of the type of data you want to receive?

+4
source

The Finance :: Quote module implements a search on Yahoo and several other sources.

+1
source

Source: https://habr.com/ru/post/1311325/


All Articles