def urls(string):
    """Parse a comma-separated list of url() strings."""
    if not string:
        return []

    string = string.strip()
    if string.startswith("url"):
        string = string[3:]
    return [
        link.strip("() '\"") for link in string.rsplit(")")[0].split(",")
        if link.strip("() '\"")]