Skip Menu |

This queue is for tickets about the WWW-Scripter CPAN distribution.

Report information
The Basics
Id: 76984
Status: resolved
Priority: 0/
Queue: WWW-Scripter

People
Owner: Nobody in particular
Requestors: steve.bitcard [...] yewtc.demon.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.028
Fixed in: (no value)



Because WWW::Scripter looks at the "document" rather than the "content",(I think) find_links misses out meta tags, so although it sub-classes WWW::Mechanize, the later finds the link in : <HTML><HEAD><META HTTP-EQUIV=Refresh CONTENT=0;URL=/my_new_page.html></HEAD><BODY></BODY></HTML> but WWW:Scripter doesn't.
On Fri May 04 04:56:21 2012, SJR wrote: Show quoted text
> Because WWW::Scripter looks at the "document" rather than the > "content",(I think) find_links misses out meta tags, so although it > sub-classes WWW::Mechanize, the later finds the link in : > <HTML><HEAD><META HTTP-EQUIV=Refresh > CONTENT=0;URL=/my_new_page.html></HEAD><BODY></BODY></HTML> > > but WWW:Scripter doesn't.
Yes, what was I thinking? $w->document->links follows the DOM spec, but $w->find_links should follow WWW::Mechanize, of course. I had it using $w->document->links underneath. I’ll fix that in the next release.
On Fri May 04 11:47:08 2012, SPROUT wrote: Show quoted text
> On Fri May 04 04:56:21 2012, SJR wrote:
> > Because WWW::Scripter looks at the "document" rather than the > > "content",(I think) find_links misses out meta tags, so although it > > sub-classes WWW::Mechanize, the later finds the link in : > > <HTML><HEAD><META HTTP-EQUIV=Refresh > > CONTENT=0;URL=/my_new_page.html></HEAD><BODY></BODY></HTML> > > > > but WWW:Scripter doesn't.
> > Yes, what was I thinking? $w->document->links follows the DOM spec, > but $w->find_links > should follow WWW::Mechanize, of course. I had it using $w->document-
> >links underneath.
> > I’ll fix that in the next release.
I’ve just released version 0.29.