Hey guys,

First of all, thanks to everyone who has helped me in the past! This site rocks the casba!! : )

I'm trying to figure out how to scrap data from yahoo's fantasy football site. It is very complex when looking at the page's source code.

Really, all I want to do, is be able to enter a week, and get the projections for that player. Here is the page I am trying to pull the data from. Once I have the data, I can insert into one of my MySQL databases. Can someone point me in the right direction on how to scrap the players first name, last name, and projected points from this web page:

http://football.fantasysports.yahoo.com/f1/628117/players?&sort=PR&sdir=1&status=ALL&pos=O&stat1=S_PW_11&jsenabled=1&jsenabled=1

Thanks a ton in advance!!! :)

I love it when a program comes together - jdhannibal

In reply to Struggling with a data feed/data scraping perl program by jdlev

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.