I want a command line/batch/console script that obtains the URL of a FLV video file.
The site is mginaction.com and seems to use Adobe’s Flash Player 10.
A typical video page is
http://www.mginaction.com/VideoDetails.aspx?VideoId=1020
The number suffix is the only part of the URL that changes between video pages.
You will only be able to view a few videos unless you sign up.
Use the promo code MG14 to get 2 weeks for free. I don’t believe that you need to enter any payment details to get this subscription.
Your script will take the video ID as its only command line parameter and output to stdout the FLV URL.
Ruby, Perl, C#, PHP, Javascript are acceptable.
