code: def category(self, category=None):
          
          if category is None:
              return int(self.url.category)
          self.url.category = str(category)
docs: If category is given, modify the URL correspondingly, return the
          current category otherwise.