wanglinteng / latte Goto Github PK
View Code? Open in Web Editor NEWWow, A cup of Latte! A zhihu crawler~ 灵活[简易]知乎爬虫
License: MIT License
Wow, A cup of Latte! A zhihu crawler~ 灵活[简易]知乎爬虫
License: MIT License
we intend to run header.py but faced "execjs._exceptions.ProgramError: SyntaxError: 语法错误":
C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\Scripts\python.exe C:/Users/bdzyl/PycharmProjects/ZhihuSpider/util/header.py
Traceback (most recent call last):
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\util\header.py", line 63, in
headers = gen_header(url_part=url_part, q=qkw, type=type, d_c0='"AOCZbcULsRKPTmJKb9A50mFqiq7Neud6dsg=|1613898999"')
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\util\header.py", line 39, in gen_header
encrypt_str = ctx1.call('b', fmd5)
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\lib\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\lib\site-packages\execjs_external_runtime.py", line 92, in _call
return self.eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec(code)
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\lib\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
File "C:\Users\bdzyl\PycharmProjects\ZhihuSpider\venv\lib\site-packages\execjs_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: SyntaxError: 语法错误
Process finished with exit code 1
We have load the git into our PycharmProject and satisfied the requirement. Is there some issues about our environment?
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.