What language and libraries are suitable for a script to parse and download small numbers of web resources?
For example, some websites publish pseudo-podcasts, but not as proper RSS feeds; they just publish an MP3 file regularly with a web page containing the playlist. I want to write a script to run regularly and parse the relevant pages for the link and playlist info, download the MP3, and put the playlist in the MP3 tags so it shows up nicely in my iPod. There are a bunch of similar applications that I could write too.
What language would you recommend? I would like the script to run on Windows and MacOS. Here are some alternatives:
- JavaScript. Just so I could use jQuery for the parsing. I don't know if jQuery works outside a browser though.
- Python. Probably good library support for doing what I want. But I don't love Python syntax.
- Ruby. I've done simple stuff (manual parsing) in Ruby before.
- Clojure. Because I want to spend a bit of time with it.
What's your favourite language and libraries for doing this? And why? Are there any nice jQuery-like libraries for other languages?