• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

wget not getting my embedded google map???

Armitage

Banned
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.
 
Yeah, the javascript would be the issue. Is it acceptable to just get the image by hand, then change the page source to show it?
 
Originally posted by: kamper
Yeah, the javascript would be the issue. Is it acceptable to just get the image by hand, then change the page source to show it?

Not really - there are about 1500 unique pages/maps. So I need something automagical.

It's not gonna happen tonight, so I've just stripped out the map - it was pretty much just eye-candy anyway relative to the rest of the content.

Should be interesting - 1 hour of just me, my bosses up the company VP and a 2 star. And I just found out about it at about 10:00 this morning 😛
 
Back
Top