I'm grabbing a static copy of an internal website to take to a briefing tomorrow. Using wget with the following command line:
wget -r -k -p -E --restrict-file-names=windows url
It's working great, but I have an embedded google map on some of the pages that it isn't grabbing. Then when I load that file later I get a popup warning that the google maps API key isn't valid for the address the request is coming from. Since the demo tomorrow won't be on a network connected machine, I won't even get that - probably some warning about not being able to contact google.
Anyway, the code on the web page for the google map is something like this:
Any ideas on how I can get wget to pull the google maps image? I thought the -p (--page-prerequisites) option would do it, but it's not. I can modify the page source as well if that helps.
edit - well, it looks like the problem is that wget can't run the script. So now I have to figure out some other way to get the map.
wget -r -k -p -E --restrict-file-names=windows url
It's working great, but I have an embedded google map on some of the pages that it isn't grabbing. Then when I load that file later I get a popup warning that the google maps API key isn't valid for the address the request is coming from. Since the demo tomorrow won't be on a network connected machine, I won't even get that - probably some warning about not being able to contact google.
Anyway, the code on the web page for the google map is something like this:
Any ideas on how I can get wget to pull the google maps image? I thought the -p (--page-prerequisites) option would do it, but it's not. I can modify the page source as well if that helps.
edit - well, it looks like the problem is that wget can't run the script. So now I have to figure out some other way to get the map.