View Single Post
  #7 (permalink)  
Old 10-03-08, 12:30 AM
jialanw jialanw is offline
Newbie Coder
 
Join Date: Sep 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Right, what I'm saying is that I'm trying to get the contents of a page I'm interested in and then save those contents to a file. The problem is that the contents are not the full contents of the page - random bits of content are dropped.

Forget the form. Suppose I'm just trying to get a regular page. All I do is

$mech =WWW::Mechanize->new;
$r = $mech->get("https://ecf.nysb.uscourts.gov/cgi-bin/FilerQry.pl?158987",':content_file' => 'temp.html');

But comparing "temp.html" to the html displayed in a browser shows that random bits of html are missing. Moreover, different pieces of html are missing when I run the script successively.

Does that make sense?
Reply With Quote