@Override
  public ExportResult<PhotosContainerResource> export(
      UUID jobId, TokensAndUrlAuthData authData, Optional<ExportInformation> exportInformation)
      throws Exception {

    PaginationData paginationData =
        exportInformation.isPresent() ? exportInformation.get().getPaginationData() : null;
    IdOnlyContainerResource resource =
        exportInformation.isPresent()
            ? (IdOnlyContainerResource) exportInformation.get().getContainerResource()
            : null;
    if (resource != null) {
      return requestPhotos(authData, resource, paginationData, jobId);
    } else {
      return requestAlbums(authData, paginationData);
    }
  }
Exports albums and photos. Gets albums first, then photos which are contained in albums and
non-album photos

@param jobId the job id
@param authData authentication data for the operation
@param exportInformation info about what data to export, see {@link ExportInformation} for more
extensions/data-transfer/portability-data-transfer-imgur/src/main/java/org/datatransferproject/datatransfer/imgur/photos/ImgurPhotosExporter.java