docs: def classify(self, url_path):
          """Classify an url"""
          for dict_api_url in self.user_defined_rules:
              api_url = dict_api_url['str']
              re_api_url = dict_api_url['re']
              if re_api_url.match(url_path[1:]):
                  return api_url
  
          return self.RE_SIMPLIFY_URL.sub(r'(\\d+)/', url_path)