import re
import unicodedata


def make_url(title, recipe_id):
    """Create a pretty URL from the recipe title and it's numeric ID."""
    title = title.lower()
    title = title.replace("ß", "ss")
    title = re.sub(r"[\"',.!?+\-:&/$`<>\[\]{}()]", "", title)
    title = unicodedata.normalize("NFKD", title).encode("ascii", "ignore").decode("UTF-8")
    title = re.sub(r"\s{2,}", " ", title)
    title = title.replace(" ", "-")
    return f"{title}-{recipe_id}"