def save_content(url, title, content, evn): domain, uri = extract_url(url) d = Domain(domain, evn) d.update_content(uri, title, content)