
Journal the_mad_poster's Journal: Version 0.1a - Come'n Geeddit 6
Trollback visitors:
Don't use the link below. Go here instead and get the updated version. It actually works.
If you need instructions look here. If it doesn't work anymore. Email my public address.
------------------------
Code here (plain text - right click save it). Note that there's a list of switches at the top of the code now. Anything marked with a * isn't implemented yet. Basic usage to rip all JEs and archive them to disk is still:
perl getslash.pl -Nyour_name -a/usr/home/you
Windows note: The script is set for testing in a UNIX environment. Change '#!/usr/bin/perl' to '#!c:/perl/bin/perl' for Windows. If that doesn't work, the path there is the path to the perl.exe file, wherever you installed it. Change it to that path (but use forward slashes, not backslashes).
Alright. If you do the sequential rip, you're limited to 50 unless you remove the hooks for it. If you do the sequential rip (i.e., you don't use the -s switch for 'single mode') it is STRONGLY recommended that you use the -p switch for 'paranoid mode'. Somebody pointed out to me that Slashdot only allows you to tap the RSS feed every thirty seconds, so the be safe, you ought to use the -p switch the first time you archive your journal. If you don't use -p, there's a (random + 4) second delay. The random number is somewhat rudimentary now, but the basic gist is that the more data you need to rip (the more JEs you're going to rip in total) the slower you're allowed to do it (Em's worst off as far as I can tell - he'll basically be limited to around 2.5K/second
Oh... and the building wasn't on fire. Smoke from some idiot burning trash blew into the open windows (it was a very nice evening, thank you) and set the alarm off on the second floor).
You and Sol... (Score:2)
Re:You and Sol... (Score:2)
Not worried (Score:1)
I'm ok with that.
Now, if someone else isn't, well, heh. Sorry.
Re:Not worried (Score:2)
Windoze? (Score:2)
C:\leo\main\moi\slashdot2>perl getslash.pl -p -Nlpetrazickis
ripping...
Getting UID from lpetrazickis...
Use of uninitialized value in concatenation (.) or string at getslash.pl line 249.
Found UID
Use of uninitialized value in concatenation (.) or string at getslash.pl line 137.
Looks like we're done here. Want to save the options file?
Choice (Y/n): y
Filename or blank line for default name:
Saving file...
Use of uninitialized value in concatenation (.) or s
Re:Windoze? (Score:2)
It's finding your user page, but it won't find your ID because of the lowercase name you put in vs. the way it's listed on your Info page. The temporary fix is to use the name "LPetrazickis" with the -N switch.
Since /. isn't case sensitive, I'll fix that in the code so that it can find your user ID with case-insensitivity.