def METHOD_NAME(self, item, response):
    """Parse or generate links."""
    links = []
    title_str = " ".join(item.css("*::text").extract()).strip()
    if "pdf" in title_str:
        title_str = re.sub("Agenda.pdf", "", title_str).strip()
        title_str += " Agenda"
    links.append(
        {"title": title_str, "href": response.urljoin(item.attrib["href"])}
    )
    return links