# check each hypertext link within page my @html = split(/a href=/, $html);
A recommendation: you are doing a lot of extra work to collect URLs and save the relative content, the code is a bit verbose and you could still miss something; peruse "standard" tools to help yourself:
This should simplify things and help a lot
In reply to Re: Scraping a website
by markong
in thread Scraping a website
by alialialia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |