Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to screen-scrape a page that uses a Java applet for authentication?

by paulbort (Hermit)
on Sep 09, 2004 at 18:21 UTC ( #389817=note: print w/replies, xml ) Need Help??


in reply to How to screen-scrape a page that uses a Java applet for authentication?

Another way to proceed would be to hack on the browser side. If you're using Firefox, an Autofill extension might help.

If you're using Windows, you might be able to use the Win32::CtrlGUI modules to get the handle of the javascript pop-up, and fill in the fields that way. ( I have no idea if the same kind of thing can be done in X.)

If you are using, or are allowed to look at the source code for the AMANDA backup software, it has a complete and working implementation of using the changer's built-in bar code reader to determine which tapes are in which slots. (Overland's web site says that bar code support is built in.)

I checked the Overland web site, but couldn't find any reference to an API.

If you go the packet-sniffing route, be prepared for at least some encryption. The "BrowserID" parameter looks like a session ID or possibly part of an encryption key. Check to see if it changes from time to time, always increases, etc.

Of all these options, I think your best bet is to talk to the changer as a SCSI device if possible. (I'm assuming the device is connected to a server via SCSI.)


--
Spring: Forces, Coiled Again!
  • Comment on Re: How to screen-scrape a page that uses a Java applet for authentication?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://389817]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2019-07-21 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (7 votes). Check out past polls.

    Notices?