Webshots has beautiful pics, but their format is a horrid one, titled 'WBZ'. The interesting part is that it actually contains an encrypted JPEG file inside, along with some extra info.
To extract the JPEG file from the WBZ, you can use the following python script. It takes multiple arguments and saves the JPEG files according to their webshots name. Good news is, it doesn't even require any extra package - python core does it.
It is not my code - it was part of a GUI software. I merely ripped the GUI and other useless parts of that code. I don't remember what it was - sorry.
Anyway, here it is. Enjoy!
http://pastebin.com/f77e4e93c
Subscribe to:
Post Comments (Atom)
2 comments:
Neither an install of python 2 or 3 will run from the command line.
Thanks it works
Post a Comment