View Full Version : Scanning Ubuntu Members
March 13th, 2007, 01:52 AM
If you scan the source of the Ubuntu Forums home page while it's really busy, you can look for these lines:
<a href="member.php?u=147443" rel="nofollow">phossal</a>
With a little perl (or python) magic, you can see who (theoretically) joined when. It's interesting.
March 13th, 2007, 02:06 AM
Well basically you would have to import and parse the HTML and filter out all the junk then filter the table with the data and then support vB pagination. Possible but a pain.
March 13th, 2007, 07:11 AM
Yeah, "website scraping" -- it can definitely be a fun thing to do, and also a good challenge in learning the string manipulation capabilities of your language.
One thing I will say, scrapers tend to cause many times the workload to the server than a human browsing, so please be considerate. Limit your request rate to something that a human would likely do. If it's a long-term program, cache copies of pages that would not likely change (i.e. the join date of a particular member would only need to be fetched once and stored)
March 13th, 2007, 07:17 AM
It isn't really a project I was going to make available. I did it one time, with very little effort and a few lines of perl, by saving the source while I was logged in to the page. I found it surprising that the data is "hard coded" into the page more than anything.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.