lujunji4113 / mooc-helper Goto Github PK
View Code? Open in Web Editor NEW查询**大学MOOC慕课单元测验、单元作业、期中/期末测试答案
Home Page: https://mooc-helper.vercel.app/
License: MIT License
查询**大学MOOC慕课单元测验、单元作业、期中/期末测试答案
Home Page: https://mooc-helper.vercel.app/
License: MIT License
突然想到拿慕课测验答案的方法,赶紧去看了下自己慕课的测验,全是0分555555
现在这个mob_token该怎么弄啊,且是在没有安卓设备的情况下
他说的mob -token的,有啥后果啊
无法通过TID添加课程了
出现了这个玩意Error: timeout of 10000ms exceeded,我是填正确了token,之前还可以用,现在老出现这个Error: timeout of 10000ms exceeded
以下是自己写的实现代码 未验证未提交时是否可以获取到正确选项
import requests
mobtokan = 'xxx'
userid = 'xxx'
classid = 'xxx'
HEADER = {
'eds-scope': 'xxx',
'cookie':'STUDY_SESS="xxx"'
}
def getClassActivity(classroomId):
return requests.post("https://www.icourse163.org/mm-classroom/mob/j/v1/classroomManageBean.getClassroomLessonActivity4Stu.rpc",data={"mob-token":mobtokan,"classroomId":classroomId}).json()
def getAnswerFrom(answerFormId,paperId,userId):
return requests.get("https://www.icourse163.org/mm-tiku/api/mobile/paper/answerform/view",params={"answerFormId":answerFormId,"paperId":paperId,"userId":userId},headers=HEADER,cookies=COOKIE).json()
classActivity = getClassActivity(classid)['results']
for i in classActivity['activities']:
if i['activityType'] == 2:
print(i['paper'])
answerFrom = getAnswerFrom(i['paper']['answerformId'],i['paper']['id'],userid)
HTMLContent = ""
num = 1
for i in answerFrom['result']['nodes']:
if i['questionData']['trueOrFalseQuestionContent']:
HTMLContent += f"<br><br>{num}. 判断题:{i['questionData']['trueOrFalseQuestionContent']['title'].replace('<br>','')}"
HTMLContent += f"<br>答案:{'对' if i['questionData']['trueOrFalseQuestionContent']['stdAnswer'] else '错'}"
if i['questionData']['singleChoiceQuestionContent']:
HTMLContent += f"<br><br>{num}. 单选题:{i['questionData']['singleChoiceQuestionContent']['title'].replace('<br>','')}"
for p in i['questionData']['singleChoiceQuestionContent']['choicesAnswers']:
HTMLContent += f"<br>{p['content'].replace('<br>','')} ({'<span style=color:red>正确</span>' if p['correct'] else '错误'})"
HTMLContent += "<br><br><br>"
num += 1
with open("output.html",'w+') as f:
f.write(HTMLContent)
mob-token是手机app特有的吗
试图在手机浏览器 电脑网页 上抓包 都没有抓到
请问能不能教一下怎么用苹果手机或者PC端抓mob-taken?谢谢QAQ
为啥显示登录信息过期啊,mob-token我抓了几次了
现在的网站为啥不能用tid查看了,我抓包不清楚哪个才是可以使用的mob token,我看以前的回复我发现我和他抓出来的不太一样。我的那个mob那个好长啊
查看答案会导致练习/考试开始计时,建议做一个看一个
(顺便感谢作者)
大佬!有打包好的吗?我不会用哎
您好,我的课程uid=1467502475这个课程无法添加,测验作业也查询不了。
请问在哪里的网站输入抓包的token啊?
那个马上就要停止服务的旧版是已经不能用了吗,我查看以前已经添加过的课程也看不了了😥😫
rt,导出应该是一件比较简单的事情吧()用pdf.js就差不多了
显示“登录失败或您的登录信息已过期,请重新登录”怎么办呀
mob_token现在抓包抓不到了怎么办
请问作者大大,电脑端如何获取mob-token呢
RT
我的手机 A 无法安装 HttpCanary 证书,便使用淘汰的手机 B 安装了 HttpCanary 并成功抓包,经在桌面端测试可以正常使用,于是换回手机 A 登录,此后始终提示如标题,无法正常获取了,桌面端和网站都是,使用手机 B 重新登录后依然如此。不知该如何解决?
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.