Capturing embedded Mapbox map

Hi,

I’m trying to capture the site https://12sunsets.getty.edu/ and overall it is pretty successful. The only part that’s missing is the Mapbox content.


The recorded page just shows the car on a pure white background. Does anyone have recommendations on how to capture the actual map?
Thanks!

Hi @mallison, we’ve done some one-off experiments with archiving Mapbox maps on websites in the past but haven’t developed a general-purpose behavior/driver script for it.

Part of the reason for that is that in order to be able to replay the map in its full functionality, the crawler would basically have to fetch every single possible API call that map could make to the source of the tiles, fonts, and other assets. This requires some pretty complex logic and results in huge/long crawls but could also potentially result in some pretty hefty bills for whoever manages that Mapbox account.

If you wanted to try to capture at least parts of the map manually with the ArchiveWeb.page Chrome extension, you could then upload that to Browsertrix and combine it with the original crawl in a collection, which would give you the option to replay the crawl and upload together and download them as a single WACZ.

You can read more about that in our docs:

Hope that helps!

1 Like

Thank you! This was a great suggestion, and I have had some success using Browsertrix.

2 Likes