Exemple #1
0
 def follow_question(self, **kwargs):
     """关注某问题"""
     r = self._execute(url=URL.follow_question(self.id), **kwargs)
     if r.ok:
         return r.json()
     else:
         raise ZhihuError("操作失败:%s" % r.text)
Exemple #2
0
 def follow_question(self, **kwargs):
     """关注某问题"""
     return self._execute(url=URL.follow_question(self.id), **kwargs)