Hi, I am using mechanize for a while now. Works great. But at the moment I have a small problem using it. The problematic file is attached. In that PHP-File you will see a formular, but mechanize doesn''t recognize it. Could somebody check this? Thanks, Bodo -- http://www.tvbrowser.org http://www.wannawork.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mechanize-users/attachments/20070930/698e3dbd/attachment.html
Hi Bodo, On Sun, Sep 30, 2007 at 11:33:58AM +0200, Bodo Tasche wrote:> Hi, > > I am using mechanize for a while now. Works great. But at the moment I > have a small problem using it. > > The problematic file is attached. In that PHP-File you will see a > formular, but mechanize doesn''t recognize it.Could you be more specific? I''m not sure what you mean exactly.> > Could somebody check this?Do you have a sample script to reproduce the error? -- Aaron Patterson http://tenderlovemaking.com/
Hi, Am 02.10.2007 um 18:52 schrieb Aaron Patterson:> Hi Bodo, > > On Sun, Sep 30, 2007 at 11:33:58AM +0200, Bodo Tasche wrote: >> Hi, >> >> I am using mechanize for a while now. Works great. But at the >> moment I >> have a small problem using it. >> >> The problematic file is attached. In that PHP-File you will see a >> formular, but mechanize doesn''t recognize it. > > Could you be more specific? I''m not sure what you mean exactly.If I load that HTML-File using page=agent.get(''URLTOFILE'') the form-array is empty, page.forms.size returns 0>> >> Could somebody check this? > > Do you have a sample script to reproduce the error?page=agent.get(''URLTOFILE'') puts page.forms.size Regards, Bodo --- http://www.wannawork.de http://www.tvbrowser.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mechanize-users/attachments/20071002/18d3c8a0/attachment-0001.html
Hi, can anybody confirm my problem? Regards, Bodo Am 02.10.2007 um 23:36 schrieb Bodo Tasche:> Hi, > > Am 02.10.2007 um 18:52 schrieb Aaron Patterson: > >> Hi Bodo, >> >> On Sun, Sep 30, 2007 at 11:33:58AM +0200, Bodo Tasche wrote: >>> Hi, >>> >>> I am using mechanize for a while now. Works great. But at the >>> moment I >>> have a small problem using it. >>> >>> The problematic file is attached. In that PHP-File you will see a >>> formular, but mechanize doesn''t recognize it. >> >> Could you be more specific? I''m not sure what you mean exactly. > > If I load that HTML-File using > > page=agent.get(''URLTOFILE'') > > the form-array is empty, page.forms.size returns 0 > >>> >>> Could somebody check this? >> >> Do you have a sample script to reproduce the error? > > page=agent.get(''URLTOFILE'') > puts page.forms.size > > Regards, > Bodo > > --- > http://www.wannawork.de > http://www.tvbrowser.org > > > _______________________________________________ > Mechanize-users mailing list > Mechanize-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mechanize-users--- http://www.wannawork.de http://www.tvbrowser.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mechanize-users/attachments/20071013/9d997cf1/attachment.html