Re: Changing module bahavior WWW::Mechanize
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Mon, 28 Apr 2008 17:55:39 +0200
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
.
- Follow-Ups:
- Re: Changing module bahavior WWW::Mechanize
- From: David Harmon
- Re: Changing module bahavior WWW::Mechanize
- References:
- Changing module bahavior WWW::Mechanize
- From: David Harmon
- Re: Changing module bahavior WWW::Mechanize
- From: Joost Diepenmaat
- Changing module bahavior WWW::Mechanize
- Prev by Date: Re: WWW::Mechanize doesn't always follow_link(text
- Next by Date: Re: use perl to draw Venn Diagram
- Previous by thread: Re: Changing module bahavior WWW::Mechanize
- Next by thread: Re: Changing module bahavior WWW::Mechanize
- Index(es):
Relevant Pages
|