Code Monkey home page Code Monkey logo

Comments (10)

NKID00 avatar NKID00 commented on June 9, 2024

目前遇到过的 progress 字段格式有以下几种:

  • ""(空字符串)
    • 跳过
  • "看到第3话"
    • 特殊情况
      • 特殊分集 "看到全片"
        • 全片视为第1话
        • 其他情况跳过
    • 正则表达式 r'看到(.+)'
    • 取前一集作为当前看到进度
  • "看到第12话 23:26"
    • 特殊情况
      • 特殊分集 "看到第24.9话 0:42" "看到全片 1:54" "看到小剧场13 0:42" "看到总集篇 0:27" "看到正式PV 1:58"
        • 全片视为`第1话'
        • 其他情况跳过
      • 特殊时长 "看到第1话 2:42:51"
    • 正则表达式 r'看到(.+)\s.+'
    • 取前一集作为当前看到进度
  • "已看完第40话"
    • 特殊情况
      • 特殊分集 "已看完13(OVA)" "已看完全片"
        • 全片视为`第1话'
        • 其他情况跳过
    • 正则表达式 r'已看完(.+)'
    • 取该集作为当前看到进度

from bilibili2bangumi.

NKID00 avatar NKID00 commented on June 9, 2024

非常大的问题:不使用自己的登录信息是查看不了在看动画的分集观看进度的。

from bilibili2bangumi.

SINC-G avatar SINC-G commented on June 9, 2024

bangumi-api 可以吧

from bilibili2bangumi.

NKID00 avatar NKID00 commented on June 9, 2024

但是 bilibili-api 不可以…

from bilibili2bangumi.

NKID00 avatar NKID00 commented on June 9, 2024

大概功能已经在分支 feat-#12 实现了,但还有个问题:手动点的格子会被覆盖掉。

例如 b 站显示"看到第 8 话"(为了保险起见只自动点 1-7 话),手动点到第 8 话,运行程序后就变成只点了 1-7 话了。

单独一话话更新而不是像现在这样一次性更新应该能解决问题。

from bilibili2bangumi.

SINC-G avatar SINC-G commented on June 9, 2024

image

这个不行吗

from bilibili2bangumi.

NKID00 avatar NKID00 commented on June 9, 2024

我的意思是不使用自己的 bilibili 登录信息是查看不了 bilibili 上的 在看动画的分集观看进度的…

from bilibili2bangumi.

NKID00 avatar NKID00 commented on June 9, 2024

话说我这边调用 bangumi 的 api 出了个 MySQL Query Error 把我人都吓傻了…

from bilibili2bangumi.

SINC-G avatar SINC-G commented on June 9, 2024

怪我,看岔眼了

from bilibili2bangumi.

NKID00 avatar NKID00 commented on June 9, 2024

好了这功能差不多写完了,最后再把 feat-#12 分支合并到 master 就行了。

from bilibili2bangumi.

Related Issues (11)

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.