GithubHelp home page GithubHelp logo

Comments (3)

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024 1

故障点已经找出,拉取章节卡片 html 页后,提取window.AttachmentSetting的 json 内容时使用到了正则表达式

window.AttachmentSetting *= *(.+?);

这里由于使用了.+?当文本中存在第一个;时就会结束匹配,如"knowledgename":""沙棘红"映照不渝初心"造成 json 序列不完成,无法解析

image

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

如有调试能力,请提供cxapi\base.pyTaskPointBasefetch_attachment方法执行到127行后resp.text中的内容(get 请求后返回的 html)

如无调试能力,可以私发账号密码以及出现异常课程的名称到我的邮箱(在 github 主页),我这边使用账号进行调试

from cxkitty.

SocialSisterYi avatar SocialSisterYi commented on July 28, 2024

该 BUG 已经在 ea15f49 修复

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.