Re: Mechanize Redirect

2008-08-11 Thread Merdinus
On Aug 10, 8:27 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > Merdinus wrote: > > > The webpage is at:  http://patft.uspto.gov/netahtml/PTO/srchnum.htm > > The submit form is submitting all the hidden variables in the webpage > > as well as a 7 digit number for a patent (ex. 7123456).  To gather > > i

Re: Mechanize Redirect

2008-08-10 Thread Rob Dixon
Merdinus wrote: > > The webpage is at: http://patft.uspto.gov/netahtml/PTO/srchnum.htm > The submit form is submitting all the hidden variables in the webpage > as well as a 7 digit number for a patent (ex. 7123456). To gather > info, after the call to "submit_form" I've edited the code to I've

Re: Mechanize Redirect

2008-08-10 Thread Peter Scott
On Sat, 09 Aug 2008 15:47:12 -0700, Merdinus wrote: > The webpage is at: http://patft.uspto.gov/netahtml/PTO/srchnum.htm > The submit form is submitting all the hidden variables in the webpage > as well as a 7 digit number for a patent (ex. 7123456). To gather > info, after the call to "submit_fo

Re: Mechanize Redirect

2008-08-09 Thread Merdinus
On Aug 9, 9:30 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > Merdinus wrote: > > > Have seen this issue addressed on this board in the past, but can't > > figure out exactly what I need to do. > > > I'm using WWW::Mechanize and a webpage seems to be redirecting me but > > Mechanize doesn't seem to fol

Re: Mechanize Redirect

2008-08-09 Thread Rob Dixon
Merdinus wrote: > > Have seen this issue addressed on this board in the past, but can't > figure out exactly what I need to do. > > I'm using WWW::Mechanize and a webpage seems to be redirecting me but > Mechanize doesn't seem to follow it. I've heard to "Add the header > 'Accept: text/html'" but

Re: Mechanize Redirect

2008-08-09 Thread Jeff Pang
Merdinus 写道: > I'm using WWW::Mechanize and a webpage seems to be redirecting me but > Mechanize doesn't seem to follow it. I've heard to "Add the header > 'Accept: text/html'" but alas I don't know how to add the header, or > what that means. > Hi, The $mech->request() method will process red

Mechanize Redirect

2008-08-09 Thread Merdinus
Have seen this issue addressed on this board in the past, but can't figure out exactly what I need to do. I'm using WWW::Mechanize and a webpage seems to be redirecting me but Mechanize doesn't seem to follow it. I've heard to "Add the header 'Accept: text/html'" but alas I don't know how to add