kgspider / crawler Goto Github PK
View Code? Open in Web Editor NEWK 哥爬虫代码分享,JS 逆向,爬虫进阶。关注公众号:K哥爬虫
K 哥爬虫代码分享,JS 逆向,爬虫进阶。关注公众号:K哥爬虫
有道翻译的输入文本长度太短,比如英译中,英文超过几个单词就不行了
Traceback (most recent call last):
File ".\pre3.py", line 84, in
main()
File ".\pre3.py", line 78, in main
sign, acs_token = get_sign_and_token(query, gtk, lang)
File ".\pre3.py", line 53, in get_sign_and_token
sign = execjs.compile(baidu_js).call('e', query, gtk)
File "D:\python38\lib\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "D:\python38\lib\site-packages\execjs_external_runtime.py", line 92, in _call
return self.eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "D:\python38\lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec(code)
File "D:\python38\lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "D:\python38\lib\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
File "D:\python38\lib\site-packages\execjs_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: TypeError: 'global' 未定义
learn_open_com_cn ,这个已经不行了。。 现在加了很多限制。
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.