Hello,
I have very little experience with network or socket related programming. I'm hoping someone can give me some resources to study.
There's a website I frequent which streams daily .mp3's via jplayer. A new .mp3 is uploaded every 24 hours, and the old one expires. Access to the stream requires an account - which I have.
The actual .mp3's are hosted on cloudfront, but they're easy to download if you're using chrome (right click > view page source) - the URL to the direct file is easy to find.
I'd like to write a program which automates the process for me. However, this entails logging into the website and either downloading the webpage as an .html (to extract the URL), or to directly read the source code from the page (the way chrome does it apparently) to find the file's location. In addition, it should download the file once it has the URL.
If it makes a difference, the login form posts to this:
I've replaced the domain with
I'm also using windows.
Thanks for any help. I've heard of curl, not sure if that's what I need, or if there's a more lightweight solution. Will any of this require HTTP requests or cookies? I don't know much when it comes to this...