المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Html capture - of current page in browser



C# Programming
07-08-2009, 05:12 PM
Greetings,

I would like to know if anyone has any code or even VB script, Perl etc that can simply be run from a command line to download whatever page is on a browser and write the raw HTML to a file, it can also be MHT for that matter.

I know about using - Navigate etc for a specific web page. This is different. The page I go to require authentication with word art and user name and password etc. Then once there you must click a few times to get where you are going for the data. Therefore running a script to direct me to a certain webpage will not work. The page has to be displayed first and then downloaded.

So, I just want to take whatever is currently on the browser, mainly due to catch *******es of new data. Understand the page I am getting data from is generated as from a database so I can not simply run a script file to download that page. The program must be able to simple be activated and write to disk what ever is displayed on the browser at the time the program is run.

I have a seperate data extractor to run against the new file to find the data I need. This file can always have the same name as well and be overwritten.


Thanks,

Antone