':param Author/Topic something:
:param block: True-->å±èœïŒFalse-->åæ¶å±èœ
:return: æåè¿å TrueïŒå€±èŽ¥è¿å False
:rtype: bool'

def block(self, something, block=True):

    from .topic import Topic
    if isinstance(something, Author):
        if (something.url == self.url):
            return False
        data = {'_xsrf': something.xsrf, 'action': ('add' if block else 'cancel')}
        block_author_url = (something.url + 'block')
        res = self._session.post(block_author_url, data=data)
        return (res.json()['r'] == 0)
    elif isinstance(something, Topic):
        tid = something.tid
        data = {'_xsrf': something.xsrf, 'method': ('add' if block else 'del'), 'tid': tid}
        block_topic_url = 'http://www.zhihu.com/topic/ignore'
        res = self._session.post(block_topic_url, data=data)
        return (res.status_code == 200)
    else:
        raise ValueError('argument    something    need    to    be    Zhihu.Author    or    Zhihu.Topic    object.')
