_convert_to_valid_url croaks when an IP Address is entered:
#!/usr/bin/perl
use HTML::Miner;
my $html = 'Super html <a href="http://www.cpan.org">cpan</a>';
my $url = "http://87.230.9.12";
my $links = HTML::Miner::get_links( $url, $html );
gives:
URL - http://87.230.9.12/ - Malformed! Sorry I tried to fix it but
could not!