> Okay, I don't know how to read packets, but the form uses a "POST" > method, and as far as I can tell, Sitescooper can't handle them. > Luckily, you can kludge a fix by trying to get the page as a GET form > would. For instance try: > > http://www.hcso.tampa.fl.us/pub/default.asp?/Online/dailybook3?report=D&Date=051603 > > This will get the detailed bookings for 5/16/03. Try this is a > site file and see if it works. It might have a problem with the > session-id cookie.
Works perfectly. Thank you for the little tidbit of advice about the "POST" method. Very handy indeed. > Now, as for changing the dates, you'll have to use the URLProcess > parameter to insert the date. I haven't used that so I don't know > when or if it gets processed for the main URL of the site, and I don't > know Perl, so I don't know what the exact form of the date command > should be. > But in pseudocode, I imagine it'll be something like > > // First set URL to > http://www.hcso.tampa.fl.us/pub/default.asp?/Online/dailybook3?report=D&Date= > > $_ = $_+date("MDY"); // get today's date in mmddyy format and concat > it to > the end of the URL Here is the code I used in the .site file for the date: URLProcess: { my ($mday, $mon, $year) = (localtime)[3..5]; my $datetoday = sprintf ("%02d%02d%02d", ++$mon, $mday, $year-100); } I then just passed the parameter to the URL and viola! worked like a charm. Thank you so much for the information on the parameter. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Sitescooper-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sitescooper-talk