ReaJason / xhs

基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/
MIT License
946 stars 279 forks source link

Udpate get note comments #119

Closed bensonz closed 1 month ago

bensonz commented 1 month ago

Added an extra param to get the images. Otherwise there is no images returned. Example now:

{'at_users': [], 
'sub_comment_cursor': '6675a72300000000050055e4', 
'id': '6675a6f8000000000d00d121', 
'liked': False, 
'user_info': {'user_id': '621c5858000000001000ff14', 'nickname': '少来我这里找骂', 'image': 'https://sns-avatar-qc.xhscdn.com/avatar/63a6a741f6c0abc638454436.jpg?imageView2/2/w/120/format/jpg'}, 
'sub_comment_count': '2', 
'sub_comment_has_more': True, 
'status': 0, 'content': '只能说符合刻板印象。。。', 
'show_tags': [], 'create_time': 1718986490000, 
'sub_comments': [{...}], 
'note_id': '6674582b000000001f00700b', 
'like_count': '0', 
'ip_location': '内蒙古', 
'pictures': [{...}]}
Screenshot 2024-06-22 at 00 40 58