Created
March 27, 2012 16:14
-
-
Save adipasquale/2217595 to your computer and use it in GitHub Desktop.
perl script to download photos from facebook. input file should be the source copied from your browser. then write the output of the script in a file and execute it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl; | |
@ARGV = ("temp_fb_profile.html"); | |
while (<>) { | |
while (/(http[a-z\-\.0-9:\/]*\w*)_a.jpg/g) { | |
print "wget $1_n.jpg\n"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Execute the program but the resulted expected is null.