Code Monkey home page Code Monkey logo

latte's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

latte's Issues

when we run header.py raise "execjs._exceptions.ProgramError: SyntaxError: 语法错误"

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.