I’m trying to write a script which can automatically download gameplay videos. The webpages look like dota.sgamer.com/Video/Detail/402 and http://www.wfbrood.com/movie/spl2009/movie_38214.html, they have flv player embedded in the flash plugin.
Is there any library to help me find out the exact flv urls? or any other ideas to get it?
Many thanks for your replies
It looks like Flashticle (4th result on searching the cheese shop for “flash”), might be able to get the information you want, if it is there.
As to getting the file, you want to look at a html parser. I’ve heard good things about Beautiful Soup. Between that and urllib2 (part of the standard library), you should be able to download the swf file to work on.
Please note that I have never tried this, and am not familiar with flash at all (other than as an end-user, of course).