Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

koschei (147)

koschei
  useperl@dellah.org
http://eh.org/~koschei/

Um. Me. Iain Truskett. Can be found as either Spoon or Koschei around the place, and as Braxiatel in rare circumstances. Um. Cool. Ta.

My perl svn repository [dellah.org] if you want bits of code by me. Also see dellah.org [dellah.org] for most of them in action.

My friends [perl.org], foes [perl.org], fans [perl.org], and freaks [perl.org]. And you can see what my friends are journalling [perl.org].

And everybody's journals [perl.org] (in order of updating).

Journal of koschei (147)

Saturday October 11, 2003
11:09 AM

Dune Emperor, Perl and Spidering Hacks

[ #15174 ]

I've had a fun few hours. I was getting bored playing the default Dune Emperor maps so decided to get some more from dune2k.com. However, they're big files and I'm on a slow connection. So I wrote some Perl to sort out their nonsensical URLs, parse their web pages and download the map files. I even use a progress bar in LWP (courtesy Spidering Hacks).

While waiting for an initial few maps to download I decided to write up my programs, explaining what they do and, well, really I'm just showing them off because I like them.

So, first we have the program to parse the pages and work out what to download, and then we have the program to do the download with the cool progress bar.

Please read and enjoy =) I'm off to enjoy some Harkonnen death.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.