def getCookies(cookieName, url): domain = urlparse.urlsplit(url).netloc return common.getCookies(cookieName, domain)