def build_url(selector, child_key, parent_key):
    """Return url string that's conditional to `selector` ("site" or "area")."""
    if selector == "site":
        return "https://%s.craigslist.org/" % child_key
    return "https://%s.craigslist.org/%s/" % (parent_key, child_key)