GithubHelp home page GithubHelp logo

Comments (9)

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

暂时还不能实现,完成一个科目后程序会退出

from cxkitty.

19819068211 avatar 19819068211 commented on July 28, 2024

请问如果使用api在线题库,返回答案为如下格式,除了config.yml 改为rsp: "data.answer",还应该如何修改,谢谢
{
"code": 200,
"data": {
"answer": "国家"
},
"msg": ""
}

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

暂不支持嵌套 JSON,最近添加配置文件支持 Jpath 语法

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

现已支持JsonPath语法作为restAPISearcher的数据选择器,例如上面提到的响应数据

{
    "code": 200,
    "data": {
        "answer": "国家"
    },
    "msg": ""
}

需要修改req$.data.answer来匹配对应的答案值

from cxkitty.

19819068211 avatar 19819068211 commented on July 28, 2024

image
答案搜出来了,但是不匹配

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

image
答案搜出来了,但是不匹配

请提供一下原题答题页面的截图,检查选项是否匹配

from cxkitty.

19819068211 avatar 19819068211 commented on July 28, 2024

原题答案
image
image
程序提示
image

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

尝试在ChapterExam类的fetch方法末尾打断点,检查选项抓取是否正常,且与原题一致

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

易姐yyds,请问能否实现一次选多个科目,谢谢

批量课程已实现
84051f1

from cxkitty.

Related Issues (20)

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.