Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法提取天雪SkyeySnow的用户数据 #978

Closed
jaaaaaaaah opened this issue Feb 22, 2022 · 6 comments
Closed

无法提取天雪SkyeySnow的用户数据 #978

jaaaaaaaah opened this issue Feb 22, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@jaaaaaaaah
Copy link

  • PT 助手版本: v1.5.2.6e34444

  • PT 助手安装方式:crx

  • 浏览器名称及版本:100.0.1163.1 (官方内部版本) dev (64 位)

  • 浏览器是否安装了其他插件:是

  • 停用其他插件后是否正常工作:否

  • 问题描述:
    无法获取用户在天雪的数据量、分享率、做种数、做种体积、魔力值/积分

  • 相关截图:
    image

  • 重现步骤:
    更新数据

@jaaaaaaaah jaaaaaaaah added the bug Something isn't working label Feb 22, 2022
@MewX
Copy link
Contributor

MewX commented Feb 23, 2022

我来修吧,这个是因为UI改动所以查询不出来

MewX added a commit to MewX/PT-Plugin-Plus that referenced this issue Feb 23, 2022
MewX added a commit to MewX/PT-Plugin-Plus that referenced this issue Feb 23, 2022
ted423 added a commit that referenced this issue Feb 23, 2022
fix #978: SkyeySnow user info fetching.
@MewX
Copy link
Contributor

MewX commented Feb 23, 2022

@jaaaaaaaah 试试看新的 action 版本 有没有其他bug了

@jaaaaaaaah
Copy link
Author

@jaaaaaaaah 试试看新的 action 版本 有没有其他bug了

emmm 积分显示了,其他数据都是0(以前是空白)。虽然我确实没在做种,不过上传下载量不应该是0。

@MewX
Copy link
Contributor

MewX commented Feb 23, 2022

@jaaaaaaaah 试试看新的 action 版本 有没有其他bug了

emmm 积分显示了,其他数据都是0(以前是空白)。虽然我确实没在做种,不过上传下载量不应该是0。

oh 好像还真是,

image

浏览器里手动跑同样的脚本倒是可以正常得出结果:

$("#psts li:contains('上传量')").text().match('上传量.*?/\\s*([\\d\\.]+\\s*?[ZEPTGMK]?i?B)')[1].sizeToNumber()
10737418240

MewX added a commit to MewX/PT-Plugin-Plus that referenced this issue Mar 1, 2022
ted423 added a commit that referenced this issue Mar 1, 2022
Fix #978: updated SkyeySnow‘s broken regex to JS style - the real fix.
@MewX
Copy link
Contributor

MewX commented Mar 1, 2022

@jaaaaaaaah 麻烦试试看新的 action 版本 有没有bug了 🤣

@jaaaaaaaah
Copy link
Author

@jaaaaaaaah 麻烦试试看新的 action 版本 有没有bug了 🤣

一切正常,费心了!

@ted423 ted423 closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants