bryanfang
Results
11
comments of
bryanfang
自己重写的版本: def __get_note_with_id(xhs_client: XhsClient, note_id: str, xsec: str): uri = '/api/sns/web/v1/feed' data = {"source_note_id":note_id,"image_formats":["jpg","webp","avif"],"extra":{"need_body_topic":"1"},"xsec_source":"pc_search","xsec_token": xsec} res = xhs_client.post(uri, data=data) return res["items"][0]["note_card"] 这个是工作的