MCPcopy Create free account

hub / github.com/Cialle/RedCrack / functions

Functions147 in github.com/Cialle/RedCrack

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
Methodadd_note_readnum
增加笔记阅读数 Args: note_id: 笔记ID xsec_token: xsec_token Returns: 增加阅读数结果
request/web/apis/note.py:250
Functionbase64_decode
Base64 解码 将Base64编码的字符串解码为原始字节序列。如果编码时使用了自定义字母表, 解码时需要提供相同的字母表。 Args: encoded_str: Base64编码的字符串 custom_alphabet:
units/fuck_reverse_crypto/encoding.py:30
Functionbase64_encode
Base64 编码 将输入的字节序列编码为Base64字符串。可选使用自定义字母表进行编码。 Args: str: 要编码的字节序列 custom_alphabet: 可选的自定义Base64字母表,长度必须为64个字符。
units/fuck_reverse_crypto/encoding.py:1
Methodcancel_like_comment
取消点赞评论 Args: note_id: 笔记ID comment_id: 评论ID Returns: 取消点赞结果
request/web/apis/comments.py:142
Methodcookies
(self)
request/web/xhs_session.py:37
Methodcreate_comment
发表评论 Args: note_id: 笔记ID content: 评论内容 at_users: @用户列表 Returns: 评论创建结果
request/web/apis/comments.py:64
Methoddelete_comment
删除评论 Args: note_id: 笔记ID comment_id: 要删除的评论ID Returns: 删除结果
request/web/apis/comments.py:106
Methodfollow_user
关注用户 Args: target_user_id: 目标用户ID Returns: 点赞结果
request/web/apis/user.py:15
Methodget_all_comments
获取笔记所有评论(包括子评论) Args: note_id: 笔记ID xsec_token: xsec_token crawl_interval: 爬取间隔(秒) max_crawl_
request/web/apis/comments.py:160
Methodget_fp
(self)
request/web/xhs_session.py:42
Functionget_instance
(*args, **kwargs)
units/singleton.py:3
Methodget_sub_comments
获取子评论列表 Args: note_id: 笔记ID root_comment_id: 父评论ID num: 每页数量 cursor: 分页游标 Returns:
request/web/apis/comments.py:42
Methodheaders
(self)
request/web/xhs_session.py:33
Functionhex_decode
Hex 解码
units/fuck_reverse_crypto/encoding.py:71
Functionhex_encode
Hex 编码
units/fuck_reverse_crypto/encoding.py:67
Methodjsint
js int 转换 不转换的话 异或结果会不正确
request/web/encrypt/header/X_S_Common.py:29
Methodlike_comment
点赞评论 如果是二级评论,直接填写需要点赞的子评论ID即可 Args: note_id: 笔记ID comment_id: 评论ID Returns: 点赞结果
request/web/apis/comments.py:124
Methodlike_note
点赞笔记 Args: note_id: 笔记ID Returns: 点赞结果
request/web/apis/note.py:71
Functionpack_focus_events
(value: dict[str, Any])
request/web/encrypt/header/x_rap_param_helper/serialize_fingerprint_payload.py:84
Functionpack_mouse_events
(value: dict[str, Any])
request/web/encrypt/header/x_rap_param_helper/serialize_fingerprint_payload.py:71
Functionpack_sign_cost
(value: dict[str, Any])
request/web/encrypt/header/x_rap_param_helper/serialize_fingerprint_payload.py:95
Methodreply_comment
回复评论 Args: note_id: 笔记ID comment_id: 要回复的评论ID content: 回复内容 at_users: @用户列表 Returns:
request/web/apis/comments.py:84
Methodsearch_notes
搜索笔记 Args: keyword: 搜索关键词 page: 页码 默认 1 page_size: 每页大小 默认 20 sort: 排序方式 默认 "general"
request/web/apis/note.py:109
Methodsearch_user_notes
搜索用户笔记 Args: user_id: 用户ID num: 数量 默认 30 cursor: 游标 默认空 sort: 排序方式 默认 "new"
request/web/apis/note.py:138
Methodsend_code
发送验证码 Args: phone: 手机号 zone: 区号 目前不支持修改其他国家 Returns: Dict: 发送结果
request/web/apis/auth.py:126
Functionsha1_encode
(data: str)
units/fuck_reverse_crypto/hash_functions.py:11
Functionsha256_encode
(data: str)
units/fuck_reverse_crypto/hash_functions.py:8
Functionsingleton
(cls)
units/singleton.py:1
Functionunsigned_left_shift
无符号左移
units/fuck_reverse_crypto/bitwise_operations.py:2
Functionurl_decode
URL 解码
units/fuck_reverse_crypto/encoding.py:80
Functionurl_encode
URL 编码
units/fuck_reverse_crypto/encoding.py:75
← previous101–147 of 147, ranked by callers