[Nh-pm] How to save complete web page not just text?

Bill McGonigle bill at bfccomputing.com
Fri Jun 24 06:54:57 PDT 2005


On Jun 23, 2005, at 21:46, James Kellndorfer wrote:

> "wget -r" or any other combination of command-line options doesn't 
> work.
> wget doesn't resolve javascript. So a download of a complete webpage 
> is now
> impossible.

Ah, so the page in question is loading content dynamically with some 
javascript/DOM programming?

JavaScript::SpiderMonkey might be useful, as would perhaps the Perl 
XPCOM project.  None of these is a complete solution - it would be 
helpful to know what you're trying to do (e.g. what kinds of data 
you're accessing) to recommend a solution.  Unless you're trying to 
scrap javascript-guarded e-mail addresses, that is.

A faster solution might be AppleScripting Firefox or Camino.

-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Mobile: 603.252.2606
http://www.bfccomputing.com/    Pager: 603.442.1833
AIM: wpmcgonigle                Text: bill+text at bfccomputing.com

For fastest support contact, please follow:
http://bfccomputing.com/support_contact.html



More information about the Nh-pm mailing list