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

本地调用js得到的sign和你服务器接口的sign不一致 #1

Open
qianxiaolv opened this issue Jan 13, 2020 · 6 comments
Open

Comments

@qianxiaolv
Copy link

您好,你上传的douyin.js 是最先的吗?
我在本地分别用网页和node调用了js,得到的sign和服务器不一致,时候可以更新一下您服务器的js文件上来
调用参数
user_id: 58958068057
tac: i)69jnqjufcs!i#k5vs"0,<8~z
api返回结果 OBGmyBATZhOJTcwe.0zaYjgRpt
本地执行结果 OBGmyBATZhOx8J9SeqbaYjgRpt

@coder-fly
Copy link
Owner

问题不大,虽然不一样但是也可以正常返回数据。

@qianxiaolv
Copy link
Author

qianxiaolv commented Jan 14, 2020 via email

@coder-fly
Copy link
Owner

github上就是最新的js,之前本地测试的时候使用node调用js生成的貌似也是无法返回数据,所以才用的webdriver,有时间我再确认一下。

@qianxiaolv
Copy link
Author

本地html也返回不了数据,还请确认一下,谢谢,另外js好像是监测了浏览器参数,node执行要屏蔽监测代码才能运行成功

@skygongque
Copy link

现在部署在服务器上的还是借助pyppeteer的吗?有没有办法在node环境运行,发现跟浏览器的结果只差中间没几位

@cq-yxjd
Copy link

cq-yxjd commented Mar 24, 2020

我试图自己看懂他的加密逻辑,然而扣出来的代码虽然生成了参数 ,但是其实是错的,就很绝望。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants