Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我想问一下help.sign()能返回x-s-common吗 #7

Closed
LumingMelody opened this issue Apr 27, 2023 · 23 comments
Closed

我想问一下help.sign()能返回x-s-common吗 #7

LumingMelody opened this issue Apr 27, 2023 · 23 comments
Labels
help wanted Extra attention is needed

Comments

@LumingMelody
Copy link

No description provided.

@ReaJason
Copy link
Owner

目前是没时间,后续可以加上🌹

@ZhangTongXiang
Copy link

x-s-common 11个参数 加上ck xt xs 就行

@LumingMelody
Copy link
Author

x-s-common 11个参数 加上ck xt xs 就行

help.sign()里面加上ck xt xs?

@ZhangTongXiang
Copy link

不不不

@ZhangTongXiang
Copy link

你留个邮箱 我给你点指导意见

@ReaJason
Copy link
Owner

ReaJason commented May 4, 2023

image

目前的还需要翻译的感觉就是 b64Encode 和 encodeUtf8 函数还有 a1 的生成函数,还有那个 f 从 lacalStorage 里取 b1 字段不知道哪里生成的

@ReaJason ReaJason added the help wanted Extra attention is needed label May 4, 2023
@ZhangTongXiang
Copy link

f 是xt 和xs 以及你截图的s8的拼接

@ZhangTongXiang
Copy link

xtxsx8

@LumingMelody
Copy link
Author

image

目前的还需要翻译的感觉就是 b64Encode 和 encodeUtf8 函数还有 a1 的生成函数,还有那个 f 从 lacalStorage 里取 b1 字段不知道哪里生成的

这个地方我已经定位到了 感觉扣出来好麻烦

@LumingMelody
Copy link
Author

你留个邮箱 我给你点指导意见

lumingmelody@gmail.com

ReaJason added a commit that referenced this issue May 4, 2023
@ReaJason
Copy link
Owner

ReaJason commented May 4, 2023

还差个 a1 和 b1

@LumingMelody
Copy link
Author

还差个 a1 和 b1

我看到更新了 x-s-common 搜索入口的应该传什么参数呢/api/sns/web/v1/search/notes 这个参数

@ReaJason
Copy link
Owner

ReaJason commented May 8, 2023

help.sign("/api/sns/web/v1/search/notes", data={...})

也可以传入 a1 和 b1 
help.sign("/api/sns/web/v1/search/notes", data={...}, a1="", b1="")

@LumingMelody
Copy link
Author

help.sign("/api/sns/web/v1/search/notes", data={...})

也可以传入 a1 和 b1 
help.sign("/api/sns/web/v1/search/notes", data={...}, a1="", b1="")

我测试data = '{"keyword":"苏州","page":3,"page_size":20,"search_id":"2bmv36ul8q5x2bjbldtev","sort":"general","note_type":0}'传进去返回的是false

@ReaJason
Copy link
Owner

ReaJason commented May 8, 2023

image

help.sign("/api/sns/web/v1/search/notes", {"keyword":"苏州","page":3,"page_size":20,"search_id":"2bmv36ul8q5x2bjbldtev","sort":"general","note_type":0})

image

如果加上浏览器上的 a1 和 b1,能得到浏览器就算出来的

help.sign("/api/sns/web/v1/search/notes", {"keyword":"苏州","page":3,"page_size":20,"search_id":"2bmv36ul8q5x2bjbldtev","sort":"general","note_type":0}, a1="187ef8cbd6aiwbf4d9qo8hamb50gvf1jmmt9sg28q50000426099", b1="I38rHdgsjo
pgIvesdVwgIC+oIELmBZ5e3VwXLgFTIxS3bqwErFeexd0ekncAzMFYnqthIhJeSnMDKutRI3KsYorWHPtGrbV0P9WfIi/eWc6eYqtyQApPI37ekmR1QL+5Ii6sdnosjoT5yqtXqqwYrBqoIx++GDi/sVtkIx0sxuwr4qtiIkrwIi/skcc3ICLfI3Oe0utl20DZsL5eDSJejVw0IieexVwL+Ptorqth+WKexY8o
ICR1IErSgVwBGqtRIxEaeDdeVuwjIC0s1qtnIkpKIhWZee3sYgG6cU5sYqtzaDdefzq1zd/eWWFQIxNeDutpIEeedqt9rzZAOoVGIvgeiqtu/YgexjqmIkLwIiDPGamjIvhm+I88IizuBVwlIvGF4eveDS7e1utCIC7sDc==")

@LumingMelody
Copy link
Author

image

help.sign("/api/sns/web/v1/search/notes", {"keyword":"苏州","page":3,"page_size":20,"search_id":"2bmv36ul8q5x2bjbldtev","sort":"general","note_type":0})

image

如果加上浏览器上的 a1 和 b1,能得到浏览器就算出来的

help.sign("/api/sns/web/v1/search/notes", {"keyword":"苏州","page":3,"page_size":20,"search_id":"2bmv36ul8q5x2bjbldtev","sort":"general","note_type":0}, a1="187ef8cbd6aiwbf4d9qo8hamb50gvf1jmmt9sg28q50000426099", b1="I38rHdgsjo
pgIvesdVwgIC+oIELmBZ5e3VwXLgFTIxS3bqwErFeexd0ekncAzMFYnqthIhJeSnMDKutRI3KsYorWHPtGrbV0P9WfIi/eWc6eYqtyQApPI37ekmR1QL+5Ii6sdnosjoT5yqtXqqwYrBqoIx++GDi/sVtkIx0sxuwr4qtiIkrwIi/skcc3ICLfI3Oe0utl20DZsL5eDSJejVw0IieexVwL+Ptorqth+WKexY8o
ICR1IErSgVwBGqtRIxEaeDdeVuwjIC0s1qtnIkpKIhWZee3sYgG6cU5sYqtzaDdefzq1zd/eWWFQIxNeDutpIEeedqt9rzZAOoVGIvgeiqtu/YgexjqmIkLwIiDPGamjIvhm+I88IizuBVwlIvGF4eveDS7e1utCIC7sDc==")

是不是版本问题啊 我这个help.sign之前安装的老版本 然后更新成0.17还是没变我手动复制github上面的到源码里面去的 是要加上浏览器的a1 b1啊 我试试

@ReaJason
Copy link
Owner

ReaJason commented May 8, 2023

重新更新一下,现在 v0.1.8 了

@LumingMelody
Copy link
Author

重新更新一下,现在 v0.1.8 了

pip更新还是0.1.7

@ReaJason
Copy link
Owner

ReaJason commented May 8, 2023

0.1.7 也可以出 x-s-common

@LumingMelody
Copy link
Author

0.1.7 也可以出 x-s-common

寻 我研究下

@Bit-sjw
Copy link

Bit-sjw commented May 9, 2023

请问更换代理能解决访问速度限制么

@ReaJason
Copy link
Owner

ReaJason commented May 9, 2023

请问更换代理能解决访问速度限制么

可以的,有朋友已经用代理池技术解决这个问题了

@Bit-sjw
Copy link

Bit-sjw commented May 10, 2023 via email

@ReaJason ReaJason closed this as completed Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants