def METHOD_NAME(self, url):
    if not self.can_parse_url(url):
        return None
    parsed_url = urlparse(url)
    match = self._regex.match(parsed_url.path)
    if match is None:
        return None
    return match.group(1)