There's a neat sequence in the movie The Social Network in which the character writes a perl script to grab images from sorority web servers on campus. His goal is to get a picture for every member of each sorority with a minimum of missed members. Typically, this just involves him grabbing it from a public directory or other little hoops like an empty search which returns all members, but he describes one really interesting set up and never gives a solution for it.
One sorority's site allows for searching and returns the pictures for matching members. However, if a search returns more than 20 matches, nothing is displayed.
Assuming no other way to access the pictures and without a list of the names of sorority members, is there an elegant way to get at least a majority of member pictures in this case? Or any way at all?
Edit: Here's a link to the scene from the movie, slightly cut up to show only the coding parts.
Pick up the phone, ask for a campus directory and feed those names into the sorority's search to get members back one at a time.
This is, after all, the social network.
I haven't seen the movie, but let me state some assumptions:
In this scenario, I do not think there is an elegant answer. This may be one of those cinematic "I translate the ancient tablet in an unknown language" sort of moments. My guess is your best bet would be a brute-force search.
Edit: Also, in theory, if the sorority is large enough and everyone is named "Jane Smith", there would be no solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With