Downloading themes programmatically

Downloading themes programmatically

I have a site with 30+ custom themes.  Every time I update my version of jQuery UI, I need to re-pull each theme by:

1) Grabbing the URL provided in the jquery-ui CSS file
2) Pasting it in my browser's address bar
3) Clicking the "Download theme" button
4) Clicking the "Download" button

This becomes a very tedious process when you have many themes and when there are many minor/major updates to jQuery UI. 

Is there a way I can automate this?  Is there an API I can call to pull the themes down programmatically?


Thanks,
Kevin