old_contents: class Search(object):
    def __init__(self, q=[], page=1, comments=False, fav=False, key=""):
      self.q = q
      self.page = page
      self.comments = comments
      self.fav = fav
      self.key = key
  
    @property
    def hostname(self):
      return("https://derpiboo.ru")
  
    @property
    def q(self):
      return(self.__q)
  
    @property
    def page(self):
      return(self.__page)
  
    @property
    def comments(self):
      return(self.__comments)
  
  
new_contents: class Search(object):
    def __init__(self, q=[], page=1, comments=False, fav=False, key=""):
      self.q = q
      self.page = page
      self.comments = comments
      self.fav = fav
      self.key = key
  
    @property
    def hostname(self):
      return("https://derpiboo.ru")
  
    @property
    def q(self):
      return(self.__q)
  
    @property
    def page(self):
      return(self.__page)
  
    @property
    def comments(self):
      return(self.__comments)
  
    @property
    def key(self):
      return(self.__key)
  
    @property
    def fav(self):
      return(self.__fav)
  
subject: add key and fav properties to Search