Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

facescrape

Name: Anonymous 2011-01-13 5:10


#!/bin/bash
echo go to 'http://www.facebook.com/profile.php?id=[fb_uid]&sk=photos' and get a tagged photo thumbnail list
echo download it to $PWD/profile.php
echo hit enter
read
echo "<html><body>" > index.html
cat profile.php | \
  sed -e '/data-src/!d;s/title=/\n/g'| \
  perl -pe 's|.*data-src.*(http:.*?)\"><i st.*|\1|' | \
  tr -d '\'| \
  egrep '^ht' | \
  sed 's/photos-./sphotos/;s/_a.jpg/_n.jpg/' | \
  sed 's/\(.*\)/<img src="\1" \/><br \/>/'  \
  >> index.html
echo "</body></html>" >> index.html
echo $PWD/index.html written, open it in your browser

Name: Anonymous 2011-01-13 5:13

#don't forget to page down and catch them all

Name: Anonymous 2011-01-13 5:13

Wow, a scraper in bash.

Name: Anonymous 2011-01-13 5:27

Useless. I don't use facebook because I have no friends.

Name: Anonymous 2011-01-13 5:29

>>4
;_;

Name: VIPPER 2011-01-13 6:00

But i use windodws!?!

Name: Anonymous 2011-01-13 6:12

>>6
* My CLOS oft'win does

Name: Anonymous 2011-01-13 6:36

fæcescrape

Name: Anonymous 2011-01-13 6:37

scrape my face!

Name: Anonymous 2011-01-13 17:24

just deleted my facebook
NO EXCEPTIONS!

Name: Anonymous 2011-01-31 19:45

<-- check em dubz

Name: Anonymous 2011-02-04 11:31

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List