Skip to content
New issue

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

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

Already on GitHub? # to your account

大佬,可否讲一下怎么在python里面运行js找了个小说网站,他原始html里面的是乱序的文字,要用js重新排序才是正确的. #111

Open
2651084156 opened this issue Aug 21, 2021 · 4 comments

Comments

@2651084156
Copy link

2651084156 commented Aug 21, 2021

那个js实在是太大了,完全分析不了.

@kyrie4899
Copy link

kyrie4899 commented Aug 23, 2021 via email

@2651084156
Copy link
Author

我也不太清楚, pip3 install PyExecJS 试一下?你bing搜一下,应该挺多办法的。 ------------------ 原始邮件 ------------------ 发件人: "Jack-Cherish/python-spider" @.>; 发送时间: 2021年8月21日(星期六) 下午5:20 @.>; @.***>; 主题: [Jack-Cherish/python-spider] 大佬,可否讲一下怎么在python里面运行js找了个小说网站,他原始html里面的是乱序的文字,要用js重新排序才是正确的. (#111) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

找了,解决方法,基本上都直接用浏览器,唯一一篇有些是讲逆向js的,但是他那js太长了,大概26 KB.而且还各种混淆,网上的反混淆工具基本上搞不干净,后面在浏览器跑的时候发现他这个js还会检查是否有cookie,如果没有的话,直接跳到主界面,然后它的cookie还是动态的,基本上每个页面都不一样无语...

@kyrie4899
Copy link

kyrie4899 commented Aug 23, 2021 via email

@onism68
Copy link

onism68 commented Aug 25, 2021

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

No branches or pull requests

3 participants