• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Data from html table to excel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data from html table to excel


  • Subject: Re: Data from html table to excel
  • From: Wayne Melrose <email@hidden>
  • Date: Tue, 22 Aug 2006 09:18:40 +0200


On Aug 22, 2006, at 8:45 AM, Chris wrote:

Hello,

I would like to create a applescript that would goto a website containing the current stats for my fantasy baseball league and
copy those to a previously existing excel file. I have done some simple applescript jobs, but this one is above anything I've
tried.

The website url is: http://baseball.fantasysports.yahoo.com/b1/344356/standings

I want to bring each of the 10 stats(HR, RBI, ERA, etc) from all 12 teams "Overall Stats" into an existing excel file on a daily basis and paste this info into new
cells. 

If anyone has some insight into this I would be very thankful. I'm not looking for someone to do this for me, but more for guidance on which road I should even be looking down!

Thanks
-Chris

Perhaps someone could confirm what I think ... ? 

Chris, you could look down the path of using curl to get the html data.. 

-----
set mydata to do shell script "curl 'http://baseball.fantasysports.yahoo.com/b1/344356/standings'"
----
-- then perhaps use an xml scripting edition like xmllib to get the table that you actually want.

------

I'm not even sure if you would be able to get the table using xmllib, but someone out there might be able to give you a yes or no on that. 

Wayne




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Data from html table to excel (From: Chris <email@hidden>)

  • Prev by Date: Data from html table to excel
  • Next by Date: Re: Data from html table to excel
  • Previous by thread: Data from html table to excel
  • Next by thread: Re: Data from html table to excel
  • Index(es):
    • Date
    • Thread