Code Monkey home page Code Monkey logo

chaoxing_web's Introduction

My Profile Picture

Hello there! 👋

I'm Samuel Chen
An Economy graduate from the class of 2022 turned Product Manager✨

🌟 About Me

🎓 Graduated in: 2022
📚 Major: Economy
🛠 Skills: Python, Vue.js

chaoxing_web's People

Contributors

samueli924 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chaoxing_web's Issues

报错''视频任务失败''

Traceback (most recent call last):
File "C:\Users*\chaoxing_web\api.py", line 629, in do_mp4
resp.json()
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] <!doctype html>

<title>403</title> <style> .main{height:255px;margin:0 auto;margin-top:15%;font-size:14px;color:#999; width: 350px;} .font_top{padding-top:45px;display:inline;} </style>

>_< 很抱歉,您没有权限访问这个页面! (403)

60.26.3.158
mooc-1726060061-mp49p

: 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "C:\Users*\chaoxing_web\web_listener.py", line 74, in start_learn
ret = api.start_learn(usernm, courseid, speed)
File "C:\Users*\chaoxing_web\api.py", line 798, in start_learn
course.do_mp4(session, speed)
File "C:\Users*\chaoxing_web\api.py", line 632, in do_mp4
raise Exception("视频任务失败")
Exception: 视频任务失败

报错视频任务失败

Traceback (most recent call last):
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\venv\lib\site-packages\flask\app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\venv\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\venv\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\venv\lib\site-packages\flask\app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\web_listener.py", line 74, in start_learn
ret = api.start_learn(usernm, courseid, speed)
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\api.py", line 798, in start_learn
course.do_mp4(session, speed)
File "C:\Users\Desktop\chaoxing_web-main\chaoxing_web-main\api.py", line 632, in do_mp4
raise Exception("视频任务失败")
Exception: 视频任务失败

对于MD5加密错误导致的报错

[2022-03-14 23:15:54] [ERROR] [file: api.py] [func: error] [line: 115] 出现错误,错误类型:json.decoder.JSONDecodeError
经过调试和复现问题,以及对网站进行实时抓包发现enc与标准enc不等,这也就代表源代码中的对密文的加密出现了问题,同时也能发现播放器版本也跟当前版本不一样。

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.