def _generic_id(self, url):
    return compat_urllib_parse_unquote(os.path.splitext(url.rstrip('/').split('/')[(- 1)])[0])
def _generic_id(self, url):
    return compat_urllib_parse_unquote(os.path.splitext(url.rstrip('/').split('/')[(- 1)])[0])