henryhaohao / qimai_appdata Goto Github PK
View Code? Open in Web Editor NEW:rainbow:Qimai爬取七麦数据网APP榜单数据
Home Page: https://www.qimai.cn/rank
License: MIT License
:rainbow:Qimai爬取七麦数据网APP榜单数据
Home Page: https://www.qimai.cn/rank
License: MIT License
运行报错 execjs._exceptions.ProgramError: TypeError: undefined is not an object (evaluating 'console.log')
最近也在写七麦的爬虫,有幸看到了您的成品,给了我很大的帮助。但有个问题,第一次确实是能成功获取到数据,但之后不管是不是用代理,都不再成功,总是返回“{'code': 10602, 'msg': 'Access Limit R'}”,看样子估计是被限制了。不知您有什么解决办法。
Traceback (most recent call last):
File "qimai_login.py", line 77, in
qimai_login()
File "qimai_login.py", line 28, in qimai_login
analysis = jsdata.call('get_analysis', url, '{}')
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/execjs/_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/execjs/_external_runtime.py", line 92, in _call
return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/execjs/_external_runtime.py", line 78, in eval
return self.exec(code)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/execjs/abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/execjs/_external_runtime.py", line 88, in exec
return self._extract_result(output)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/execjs/_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: TypeError: m.sort is not a function
f()函数中的n 可能又变了, 如何获取 n 的值呢.能详细的说下吗
我试过了,取未登录的数据,用这个方法速度很快,每次都能成功,但是好多数据是登录后才能看到了,有办法先模拟登录吗?
已Star,
爬虫过程一直困惑于JS加密生成的sign,这次看到你的项目才有了点头目,所以想问一下怎么从网站上的JS解密成项目中形如"encrypt_20190716.js"这样的文件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.