Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl -w
- #author: k3170makan
- #Strips links from a duckduckgo.com page XD
- #two lines, no semi-colons doesn't work that well for google page :(
- foreach(<>){
- print $+{URL},"\n" if m/(?<ANCHOR><a[\s].*?href=(?:[\"\w_\-\d]+).*?)/?m/(?<URL>http:\/\/(?:[\w_\-\d\.]+)*)/:0}
Advertisement
Add Comment
Please, Sign In to add comment