This is probably considered hacking, but is it possible to programmatically download swfs using something like Ruby? Not decompiling them, just downloading them so I can view them without having to go to the site with a billion advertisements.
+1
A:
It's a very straightforward URL download as long as the site isn't doing something to prevent people from doing this, e.g. checking the REFERER field or a cookie.
There are a number of browser plugins (FF must have a dozen of them) that facilitate this kind of thing.
Peter Rowell
2009-12-26 21:55:05
+1
A:
Assuming you know the address of the flash movie:
require 'net/http'
Net::HTTP.start( 'www.example.com' ) { |http|
resp = http.get( '/movie.swf' )
open( '/tmp/movie.swf', 'wb' ) { |file|
file.write(resp.body)
}
}
Darin Dimitrov
2009-12-26 22:02:06
thanks, works great!
viatropos
2009-12-26 22:11:36
A:
you may think this is silly!! open up a text browser like elinks and load a page which has swf file/content, then it'll only ask what to do and downloads content, has worked for me.......
abhilashm86
2010-01-09 12:41:31