Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cialle/RedCrack
/ functions
Functions
147 in github.com/Cialle/RedCrack
⨍
Functions
147
◇
Types & classes
35
Method
__init__
(self, session: "XHS_Session")
request/web/apis/user.py:11
Method
__init__
(self, session: "XHS_Session")
request/web/apis/comments.py:13
Method
__init__
(self, session: "XHS_Session")
request/web/apis/auth.py:17
Method
__init__
(self, __session)
request/web/apis/__init__.py:7
Method
__init__
(self, session: "XHS_Session")
request/web/apis/note.py:65
Method
__init__
(self)
request/web/encrypt/config.py:5
Method
__init__
(self)
request/web/encrypt/xhs_encrypt.py:29
Method
__init__
(self)
request/web/encrypt/cookie/a1_and_webId.py:14
Method
__init__
(self)
request/web/encrypt/cookie/websectiga.py:10
Method
__init__
(self)
request/web/encrypt/cookie/gid_webprofile_data.py:11
Method
__init__
(self)
request/web/encrypt/header/X_S_Common.py:15
Method
__init__
初始化加密器,从配置文件读取必要的加密参数
request/web/encrypt/header/X_B3.py:12
Method
__init__
初始化加密器,从配置文件读取必要的加密参数
request/web/encrypt/header/X_S.py:18
Method
__init__
(self)
request/web/encrypt/header/X_Xray.py:12
Method
__init__
(self)
request/web/encrypt/header/X_Rap_Param.py:22
Method
__init__
(self)
request/web/encrypt/other/XhsFpGenerator.py:8
Method
add_note_readnum
增加笔记阅读数 Args: note_id: 笔记ID xsec_token: xsec_token Returns: 增加阅读数结果
request/web/apis/note.py:250
Function
base64_decode
Base64 解码 将Base64编码的字符串解码为原始字节序列。如果编码时使用了自定义字母表, 解码时需要提供相同的字母表。 Args: encoded_str: Base64编码的字符串 custom_alphabet:
units/fuck_reverse_crypto/encoding.py:30
Function
base64_encode
Base64 编码 将输入的字节序列编码为Base64字符串。可选使用自定义字母表进行编码。 Args: str: 要编码的字节序列 custom_alphabet: 可选的自定义Base64字母表,长度必须为64个字符。
units/fuck_reverse_crypto/encoding.py:1
Method
cancel_like_comment
取消点赞评论 Args: note_id: 笔记ID comment_id: 评论ID Returns: 取消点赞结果
request/web/apis/comments.py:142
Method
cookies
(self)
request/web/xhs_session.py:37
Method
create_comment
发表评论 Args: note_id: 笔记ID content: 评论内容 at_users: @用户列表 Returns: 评论创建结果
request/web/apis/comments.py:64
Method
delete_comment
删除评论 Args: note_id: 笔记ID comment_id: 要删除的评论ID Returns: 删除结果
request/web/apis/comments.py:106
Method
follow_user
关注用户 Args: target_user_id: 目标用户ID Returns: 点赞结果
request/web/apis/user.py:15
Method
get_all_comments
获取笔记所有评论(包括子评论) Args: note_id: 笔记ID xsec_token: xsec_token crawl_interval: 爬取间隔(秒) max_crawl_
request/web/apis/comments.py:160
Method
get_fp
(self)
request/web/xhs_session.py:42
Function
get_instance
(*args, **kwargs)
units/singleton.py:3
Method
get_sub_comments
获取子评论列表 Args: note_id: 笔记ID root_comment_id: 父评论ID num: 每页数量 cursor: 分页游标 Returns:
request/web/apis/comments.py:42
Method
headers
(self)
request/web/xhs_session.py:33
Function
hex_decode
Hex 解码
units/fuck_reverse_crypto/encoding.py:71
Function
hex_encode
Hex 编码
units/fuck_reverse_crypto/encoding.py:67
Method
jsint
js int 转换 不转换的话 异或结果会不正确
request/web/encrypt/header/X_S_Common.py:29
Method
like_comment
点赞评论 如果是二级评论,直接填写需要点赞的子评论ID即可 Args: note_id: 笔记ID comment_id: 评论ID Returns: 点赞结果
request/web/apis/comments.py:124
Method
like_note
点赞笔记 Args: note_id: 笔记ID Returns: 点赞结果
request/web/apis/note.py:71
Function
pack_focus_events
(value: dict[str, Any])
request/web/encrypt/header/x_rap_param_helper/serialize_fingerprint_payload.py:84
Function
pack_mouse_events
(value: dict[str, Any])
request/web/encrypt/header/x_rap_param_helper/serialize_fingerprint_payload.py:71
Function
pack_sign_cost
(value: dict[str, Any])
request/web/encrypt/header/x_rap_param_helper/serialize_fingerprint_payload.py:95
Method
reply_comment
回复评论 Args: note_id: 笔记ID comment_id: 要回复的评论ID content: 回复内容 at_users: @用户列表 Returns:
request/web/apis/comments.py:84
Method
search_notes
搜索笔记 Args: keyword: 搜索关键词 page: 页码 默认 1 page_size: 每页大小 默认 20 sort: 排序方式 默认 "general"
request/web/apis/note.py:109
Method
search_user_notes
搜索用户笔记 Args: user_id: 用户ID num: 数量 默认 30 cursor: 游标 默认空 sort: 排序方式 默认 "new"
request/web/apis/note.py:138
Method
send_code
发送验证码 Args: phone: 手机号 zone: 区号 目前不支持修改其他国家 Returns: Dict: 发送结果
request/web/apis/auth.py:126
Function
sha1_encode
(data: str)
units/fuck_reverse_crypto/hash_functions.py:11
Function
sha256_encode
(data: str)
units/fuck_reverse_crypto/hash_functions.py:8
Function
singleton
(cls)
units/singleton.py:1
Function
unsigned_left_shift
无符号左移
units/fuck_reverse_crypto/bitwise_operations.py:2
Function
url_decode
URL 解码
units/fuck_reverse_crypto/encoding.py:80
Function
url_encode
URL 编码
units/fuck_reverse_crypto/encoding.py:75
← previous
101–147 of 147, ranked by callers