<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def harvest_collection(community_name):
 """Harvest a Zenodo community's record metadata. Examples -------- You can harvest record metadata for a Zenodo community via its identifier name. For example, the identifier for LSST Data Management's Zenodo collection is ``'lsst-dm'``: ``collection`` is a :class:`~zenodio.harvest.Datacite3Collection` instance. Use its :meth:`~zenodio.harvest.Datacite3Collection.records` method to generate :class:`~zenodio.harvest.Datacite3Record` objects for individual records in the Zenodo collection. Parameters community_name : str Zenodo community identifier. Returns ------- collection : :class:`zenodio.harvest.Datacite3Collection` The :class:`~zenodio.harvest.Datacite3Collection` instance with record metadata downloaded from Zenodo. """

    url = zenodo_harvest_url(community_name)
    r = requests.get(url)
    r.status_code
    xml_content = r.content

    return Datacite3Collection.from_collection_xml(xml_content)