jayto has asked for the wisdom of the Perl Monks concerning the following question:
So, I have a new problem. I am trying to validate large amounts of links which I have scraped. These links are supposed to lead to mp3 files.
My problem is that sometimes I get links like these:
http://writeups.info/new-age/na09/Relaxing%20Songs%20Music%20-%20Wind%20Beneath%20My%20Wings.mp3
This is a real valid page I guess but it is not a link to an mp3 file so LWP UA doesnt timeout. What can I do to verify that links such as that ^^, are actual links to mp3 files?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Link validation problem
by tobyink (Canon) on Jul 17, 2012 at 19:04 UTC | |
by jayto (Acolyte) on Jul 17, 2012 at 19:49 UTC | |
|
Re: Link validation problem
by frozenwithjoy (Priest) on Jul 17, 2012 at 18:49 UTC | |
|
Re: Link validation problem
by onelesd (Pilgrim) on Jul 17, 2012 at 19:01 UTC |