|
| the gatech class schedule is open to the public...
the url to get it is
- >> https://oscar.gatech.edu/pls/bprod/..._disp_dyn_sched
this takes you to a series of forms...
select "fall 2004" (submit)
select "Accounting" (submit) <<< this works
-but
select "Aerospace Engineering" (submit) <<fails using my perl app...
i didn't want to chew up space providing my test app.. although it's only
~400 lines..
the form/site is pretty simple/straightforward.. there is no strange
javascript/etc... in fact, i can get what i need by simply using
http::request, useragent, building the url/query, and then posting to the
server.. everything works and i can parse the entire class schedule
section..
for some reason, mechanize appears to be screwing up...
if i knew enough about how mechanize is structured, and how "pms" work in
perl, i'd figure it out... i'm also wondering if perhaps my copy of
mechanize is faulty...
-bruce
-----Original Message-----
From: Jim Martinez [mailto:jjm@bigbigorg.org]
Sent: Sunday, June 27, 2004 8:11 AM
To: hescobar@travelone.net
Cc: perl-win32-users@listserv.ActiveState.com; libwww@perl.org
Subject: Re: possible mechanize issue
On Jun 26 bruce wrote:
> i'm parsing the gatech class schedule section.
Is the gatech class schedule your are parsing viewable to the public? If
it is, perhaps sharing the url would help.
> is this a possible error/issue given how the site functions.. is it a
> possible issue/error with mechanize... (i somehow doubt that it is, as
> i've used mechanize with other sites with no probs...) i tried to do a
> download from CPAN to see if there is a newer version of Mechanize, but
> it appears that I have the latest version... although i might not..
>
> any ideas/comments/possible solns...
A broad suggestion that you may already have looked into: does the form
submit to a javascript function (horrors!) or to a url?
You could try to cut and paste the form into someplace where you have more
control (like apache running on your workstation maybe) and see if you get
the same error.
HTH,
Zenitram
________________________________________
_______
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|
|