Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automation of Form Browsing and Saving?

Status
Not open for further replies.

jpm3

IS-IT--Management
Apr 28, 2003
17
US
A particular website posts forms for subscribers to view, by Form ID.
Given a set of FormID's, I'd like automate the process of bringing up
each form in a browser and saving the HTML to a file (this is not
prohibited in the site's Terms of Use and the subscription fee is hefty).

Can someone please help with how to set this up or point me to an example?
I've looked at VB's Winsock and DHTML, and I've written asp's in Java
and VBScript before.


Here is what the URL's look like when operating the site manually:

This command brings up the form selections:

This would bring up form ID 3216878:

With the form on screen, View Source gives this:
<html>
<head>
<title>anysite Online Access | Fetch Form</title>
<link rel="stylesheet" href="/css/enhanced_css.asp" type="text/css">
</head>

<frameset rows="128, *" border="0" frameborder="0" framespacing="0">
<frame src="/fetchFormNav.asp?FormID=3216837&Type=HTML&v_ppu=resultsForms%2Easp%3FEndRow%3D25%26FormTypeID%3D74%26ReceivedDate%3DTODAY%26SortColumn%3D102%26SortOrder%3DD%26StartRow%3D1%26Ticker%3D%26SearchTypeID%3D1" name="nav" noresize scrolling="no" marginheight="0" marginwidth="0">
<frame src="/EFX_dll/anysitepro.dll?FetchFormHTML1?ID=3216837&SessionID=F8eAIu7t9EHowuJ" name="Form" noresize scrolling="yes">
</frameset>
</html>

(the session ID is assigned at user logon and remains constant until logout)

Any suggestions GREATLY appreciated... thanks!
 
you could just log in, then use syncronise and set the advanced settings for # of links deep to follow.
and save it locally, then use FSO to populate the DB

*shrugs*

otherwise you're dealing with a mess with XMLHTTP and get/post etc finding links/form elements etc.

may want to search google for ASP replicate remote

[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top