8000 使用Arcade数据源获取分数时有时会抛出`ValueError`异常 · Issue #25 · TrueRou/maimai.py · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
使用Arcade数据源获取分数时有时会抛出ValueError异常 #25
Open
@shinyashen

Description

@shinyashen

使用模块的版本是今天更新的最新版本,大部分情况下能够正常获取分数

Traceback (most recent call last):
  File "/home/shinya/shinya/github/HoshinoBot/hoshino/modules/msu/updater.py", line 159, in update_score
    scores = await maimai.scores(identifier, ArcadeProvider())
  File "/home/shinya/miniconda3/envs/Hoshino/lib/python3.10/site-packages/maimai_py/maimai.py", line 771, in scores
    scores = await provider.get_scores_all(identifier, self)
  File "/home/shinya/miniconda3/envs/Hoshino/lib/python3.10/site-packages/maimai_py/providers/arcade.py", line 77, in get_scores_all
    resp_list = await arcade.get_user_scores(identifier.credentials.encode(), http_proxy=self._http_proxy)
  File "maimai_ffi/arcade.py", line 62, in get_user_scores
  File "maimai_ffi/arcade.py", line 64, in maimai_ffi.arcade.get_user_scores
  File "maimai_ffi/request.py", line 127, in maimai_ffi.request.request
  File "maimai_ffi/request.py", line 92, in maimai_ffi.request.CipherAES.decrypt
  File "maimai_ffi/request.py", line 66, in maimai_ffi.request.CipherAES._unpad
ValueError: Invalid padding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0