Javascript getting web page source

Discussion in 'JavaScript' started by mattgoody, Feb 23, 2008.

  1. #1
    Hi-
    I am writing a web app to import a users yahoo fantasy basketball team. While this works for public teams (i can grab their team page source with cURL using php) If they are in a private league, the cURl just gets the message "You are unauthorized to view this team because you are not in the league." Is there a way using javascript to have the user, who is already logged in to yahoo and has permission to view his team's page, get the contents of the page and send it to the server for processing? I hope that was clear.

    Thanks!
    -Matt
     
    mattgoody, Feb 23, 2008 IP