Re: Changing module bahavior WWW::Mechanize



Joost Diepenmaat wrote:
David Harmon <source@xxxxxxxxxx> writes:
So I want to fetch some web pages and then grab some image files they
refer to. The images are linked with the standard <img src="... html
tag. WWW::Mechanize is perfect for that, except that the links it
scans for do not include image tags. Hunting in Mechanize.pm I find
the list it uses, which is:

The links() method searches for links "to to other pages". If you want
to search for images you should use the (find(_all)_)images() methods.

Both the OP and I had old versions of WWW::Mechanize, where those methods were not available.

So, David, you need to upgrade.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.



Relevant Pages

  • Re: What is ACR standard? What does it mean for an Mammography Image that conformance to this standa
    ... There is no ACR standard with respect to specific DICOM tags, ... If you are creating mammo images from a product, ... Position tag is required in the ACR Standard. ... product can use the DICOM tags View Position and View Code ...
    (comp.protocols.dicom)
  • Re: IE shows false and Firefox shows true
    ... Neither is the `onload' event an indication that all images in the ... XHTML or HTML? ... is however, again, not specified in a public standard to apply to IMG/img ...
    (comp.lang.javascript)
  • Parsing HTML - using HTML::TreeBuilder
    ... I searched online and I found that I am supposed to use the ... the TAG named "H2". ... H2's or Images to be 0. ... text in a HTML tag. ...
    (comp.lang.perl.misc)
  • Re: Inconsistent results - why?
    ... HTML progs still work differently. ... Here your body element is closed, no further HTML elements are allowed, all that can follow is a closing tag. ... Mouseovers are frequently done with CSS now as it's more efficient than pre-loading images, ...
    (comp.lang.javascript)
  • Re: Image file naming strategy.
    ... to be meaningful to anything but the camera itself -- it just needs a ... It is better to invent globablly unique names for all your images -- ... name you invent, or, if that is unpalatable, simply create a new tag ...
    (rec.photo.digital.slr-systems)