How to use the WP export and get images that are contained in a posts gallery

How to use the WP export and get images that are contained in a posts gallery

error code: 523