#!/usr/bin/perl -w use strict; use HTML::TokeParser; for my $file (@ARGV) { my $p = HTML::TokeParser->new($file) or next; while (my $token = $p->get_tag("img")) { print "$file:", $token->[1]{src}, "\n" unless defined ($token->[1]{height} && $token->[1]{width}); } }
Tony
In reply to HTML pages with IMG tags with no HEIGHT or WIDTH by salvadors
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |