def zenodo_harvest_url(community_name, format='oai_datacite3'):
    """Build a URL for the Zenodo Community's metadata.

    Parameters
    ----------
    community_name : str
        Name of the community.
    format : str
        OAI-PMH metadata specification name. See https://zenodo.org/dev.

    Returns
    -------
    url : str
        OAI-PMH metadata URL.
    """
    template = (
        'http://zenodo.org/oai2d?verb=ListRecords&metadataPrefix={metadata_format}&set=user-{community}'
        )
    return template.format(metadata_format=format, community=community_name)
