Git Product home page Git Product logo

Comments (23)

ReaJason avatar ReaJason commented on July 30, 2024

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

from xhs.

ZhangTongXiang avatar ZhangTongXiang commented on July 30, 2024

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

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

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

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

from xhs.

ZhangTongXiang avatar ZhangTongXiang commented on July 30, 2024

不不不

from xhs.

ZhangTongXiang avatar ZhangTongXiang commented on July 30, 2024

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

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024

image

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

from xhs.

ZhangTongXiang avatar ZhangTongXiang commented on July 30, 2024

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

from xhs.

ZhangTongXiang avatar ZhangTongXiang commented on July 30, 2024

xtxsx8

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

image

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

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

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

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

[email protected]

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024

还差个 a1 和 b1

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

还差个 a1 和 b1

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

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024
help.sign("/api/sns/web/v1/search/notes", data={...})

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

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024
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

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024

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==")

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

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啊 我试试

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024

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

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

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

pip更新还是0.1.7

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024

0.1.7 也可以出 x-s-common

from xhs.

LumingMelody avatar LumingMelody commented on July 30, 2024

0.1.7 也可以出 x-s-common

寻 我研究下

from xhs.

Bit-sjw avatar Bit-sjw commented on July 30, 2024

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

from xhs.

ReaJason avatar ReaJason commented on July 30, 2024

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

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

from xhs.

Bit-sjw avatar Bit-sjw commented on July 30, 2024

from xhs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.