in reply to Mechanize not recognizing link in <META HTTP-EQUIV="Refresh"

Try looking at the module's source code. I quickly found _link_from_token, which contains this:

if ( $tag eq 'meta' ) { my $equiv = $attrs->{'http-equiv'}; my $content = $attrs->{'content'}; return unless $equiv && (lc $equiv eq 'refresh') && defined $c +ontent; if ( $content =~ /^\d+\s*;\s*url\s*=\s*(\S+)/i ) { $url = $1; $url =~ s/^"(.+)"$/$1/ or $url =~ s/^'(.+)'$/$1/; } else { undef $url; } } # meta

Does your URL match that regex? Maybe there is a bug.

Replies are listed 'Best First'.
Re^2: Mechanize not recognizing link in <META HTTP-EQUIV="Refresh"
by Anonymous Monk on Nov 02, 2007 at 03:27 UTC
    of course that will match, he probably has a really old version of mechanize