code: def search_book(self, anywords, page=1):
          
          result = []
          html = self.__search_book_html(anywords, page)
          soup = BeautifulSoup(html)
          tds = soup.select(selector='tbody')[0].select('td')
          cursor = 1
          while cursor < len(tds) / 9:
              s = (cursor - 1) * 9
              num = tds[s].get_text()
              ctrlno = tds[s].input.attrs['value']
              name = tds[s + 1].get_text()
              author = tds[s + 2].get_text()
              press = tds[s + 3].get_text()
              press_time = tds[s + 4].get_text()
              index_num = tds[s + 5].get_text()
              total = tds[s + 6].get_text()
              left = tds[s + 7].get_text()
              addtion = tds[s + 8].get_text().strip('\r\n')  # 相关资源
              book = {
                  'num': num,  # 序号
                  'ctrlno': ctrlno,  # 图书馆系统控制号(在图书馆的唯一编号)
                  'name': name,  # 名称
                  'author': author,  # 作者
                  'press': press,  # 出版社
                  'press_time': press_time,  # 出版时间
                  'index_num': index_num,  # 索取号
                  'total': total,  # 馆藏
                  'left': left,  # 剩余
              }
              result.append(book)
              cursor += 1
  
          return result
docs: 检索图书
          :param anywords: 检索关键字
          :param page: 页码
          :return: 图书列表