Lounger's ages
#43
Quote:
Thanks, I probably should have read the full man page (I just skimmed the readme). I'll try that when I resume the downloading. I'm not sure whether it will work or not, as technically, I'm not connecting to multiple files, but one php file that I'm passing a different parameter to each call. It's definitely worth a shot though.

I couldn't resist following up on this... mostly because of your mention of curl. But also because I had a vacation cut short because my spouse wrecked our 2008 Mustang (but that's another story).

Anyway I used a series of commands to get the usernames and birthday's of the all the Lurker Lounge accounts. I was worried about RAM usage (probably needlessly) so I didn't use just one command to pull down all the profiles.

Code:
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[1-5000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out1
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[5001-10000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out2
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[10001-15000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out3
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[15001-20000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out4
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[20001-25000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out5
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[25001-30000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out6
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[30001-35000] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out7
curl -s http://www.lurkerlounge.com/forums/index.php?showuser=[35001-39465] |&nbsp;&nbsp;egrep -A1 "Birthday|<div id=\"profilename" | ./parseAge > out8

The "parseAge" command is an awk script to parse out the username and the birthdate. It's rather ugly but I'll be happy to post it if anyone requests it.

It still ran pretty slow. All together it took about 2.5 to 3 hours to run. I PM'd the results to Pete, so he can work his numerical analysis.

I did notice that, even though the user numbers start with one and are incremented for subsequent users, not all numbers represent valid users. For example, there is no user associated with 10000 (i.e. there is no profile for this URL: http://www.lurkerlounge.com/forums/index...user=10000 )

Plus, new users are being added all the time (obviously), so my list is accurate as of around 4/9/2009 7:30 am EST.
Reply


Messages In This Thread
Lounger's ages - by --Pete - 04-03-2009, 11:50 PM
Lounger's ages - by LennyLen - 04-04-2009, 12:23 AM
Lounger's ages - by --Pete - 04-04-2009, 12:49 AM
Lounger's ages - by LennyLen - 04-04-2009, 01:40 AM
Lounger's ages - by --Pete - 04-04-2009, 03:09 AM
Lounger's ages - by Mirajj - 04-04-2009, 05:21 AM
Lounger's ages - by --Pete - 04-04-2009, 05:49 AM
Lounger's ages - by LennyLen - 04-04-2009, 05:55 AM
Lounger's ages - by LennyLen - 04-04-2009, 07:40 AM
Lounger's ages - by Xiuhcoatl - 04-04-2009, 10:26 AM
Lounger's ages - by LennyLen - 04-04-2009, 12:06 PM
Lounger's ages - by Mirajj - 04-04-2009, 01:26 PM
Lounger's ages - by Bolty - 04-04-2009, 02:11 PM
Lounger's ages - by LennyLen - 04-04-2009, 03:11 PM
Lounger's ages - by --Pete - 04-04-2009, 05:15 PM
Lounger's ages - by --Pete - 04-04-2009, 05:20 PM
Lounger's ages - by --Pete - 04-04-2009, 05:34 PM
Lounger's ages - by weakwarrior - 04-04-2009, 05:38 PM
Lounger's ages - by Mirajj - 04-04-2009, 05:59 PM
Lounger's ages - by roguebanshee - 04-04-2009, 07:05 PM
Lounger's ages - by --Pete - 04-05-2009, 12:03 AM
Lounger's ages - by --Pete - 04-05-2009, 01:37 AM
Lounger's ages - by LennyLen - 04-05-2009, 02:06 AM
Lounger's ages - by --Pete - 04-05-2009, 03:15 AM
Lounger's ages - by the Langolier - 04-05-2009, 07:59 PM
Lounger's ages - by Ashock - 04-06-2009, 11:50 PM
Lounger's ages - by Occhidiangela - 04-07-2009, 01:08 AM
Lounger's ages - by --Pete - 04-07-2009, 02:07 AM
Lounger's ages - by DeeBye - 04-07-2009, 05:08 AM
Lounger's ages - by LennyLen - 04-07-2009, 09:59 AM
Lounger's ages - by Viscous - 04-07-2009, 11:37 AM
Lounger's ages - by LennyLen - 04-07-2009, 01:24 PM
Lounger's ages - by Ashock - 04-07-2009, 03:49 PM
Lounger's ages - by --Pete - 04-07-2009, 04:23 PM
Lounger's ages - by mommie - 04-07-2009, 06:11 PM
Lounger's ages - by NuurAbSaal - 04-07-2009, 07:11 PM
Lounger's ages - by Zarathustra - 04-07-2009, 08:11 PM
Lounger's ages - by Occhidiangela - 04-08-2009, 02:38 AM
Lounger's ages - by Occhidiangela - 04-08-2009, 02:39 AM
Lounger's ages - by Nastie_Bowie - 04-08-2009, 03:54 AM
Lounger's ages - by Sir_Die_alot - 04-08-2009, 06:35 AM
Lounger's ages - by Selby - 04-08-2009, 04:13 PM
Lounger's ages - by Viscous - 04-08-2009, 05:17 PM
Lounger's ages - by --Pete - 04-08-2009, 09:08 PM
Lounger's ages - by Occhidiangela - 04-08-2009, 11:03 PM
Lounger's ages - by --Pete - 04-09-2009, 12:56 AM
Lounger's ages - by LennyLen - 04-09-2009, 05:34 AM
Lounger's ages - by Xiuhcoatl - 04-09-2009, 01:05 PM
Lounger's ages - by Lissa - 04-09-2009, 01:26 PM
Lounger's ages - by --Pete - 04-09-2009, 06:06 PM
Lounger's ages - by Esahaettr - 04-13-2009, 02:46 AM
Lounger's ages - by Esahaettr - 04-13-2009, 02:47 AM
Lounger's ages - by FireIceTalon - 04-15-2009, 02:50 AM
Lounger's ages - by kandrathe - 04-15-2009, 03:18 AM
Lounger's ages - by Leshy - 04-22-2009, 09:48 PM
Lounger's ages - by --Pete - 04-23-2009, 10:01 PM
Lounger's ages - by Chaerophon - 04-24-2009, 08:16 AM
Lounger's ages - by TaMeOlta - 04-24-2009, 01:11 PM
Lounger's ages - by Occhidiangela - 04-28-2009, 02:35 AM
Lounger's ages - by Occhidiangela - 04-28-2009, 02:36 AM

Forum Jump:


Users browsing this thread: 7 Guest(s)