A perl code but don't have result.
I want get the toplinks from a webpage,but I don't know why I can get reslut.
the original url: http://www.ibm.com/developerworks/li...viz/index.html Code:
#!/usr/bin/perl -w |
Tell us what the prob is, pref with example.
In any case, $link = substr($link,7); # remove http:// removes everything from $link, starting at offset 7 : http://perldoc.perl.org/functions/substr.html . I don't think you want that... Edit: grr, that's what I get for watching TV late at night and being here; ignore this. ): |
I want to crawl the URLs in the starting page
$link = substr($link,7); # remove http:// this one just want to remove "http://" |
All times are GMT -5. The time now is 10:57 AM. |