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

斗鱼失效 #115

Open
johngao01 opened this issue Jul 19, 2024 · 1 comment
Open

斗鱼失效 #115

johngao01 opened this issue Jul 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@johngao01
Copy link

johngao01 commented Jul 19, 2024

运行环境

最新版代码

配置文件

{
  "output": "下载",
  "user": [
    {
      "platform": "Douyu",
      "id": "312212",
      "name": "智勋勋勋勋"
    }
  ]
}

错误描述

斗鱼最终失效了,是query = js.call('ub98484234', self.id, did, tt) 这里的代码执行报错了。报错结果:
jsengine.exceptions.ProgramError: SyntaxError: unexpected token in expression: '<'
at :1

错误日志

ProgramError("SyntaxError: unexpected token in expression: '<'\n    at <input>:1\n")
Traceback (most recent call last):

  File "E:\Python312\Lib\site-packages\jsengine\internal.py", line 145, in eval
    result = self._context.eval(code)
             │    │        │    └ 'var vdwdae325w_64we = "220120240719";function re7357c2c3(ka59d7e325ff520e00,ka59d7e325ff520e01,ka59d7e325ff520e02){var rk=[3...
             │    │        └ <method 'eval' of '_quickjs.Context' objects>
             │    └ <_quickjs.Context object at 0x000002A4006B2980>
             └ <jsengine.internal.QuickJSEngine.Context object at 0x000002A400682AB0>

_quickjs.JSException: SyntaxError: unexpected token in expression: '<'
    at <input>:1
@johngao01 johngao01 added the bug Something isn't working label Jul 19, 2024
@Surde
Copy link
Contributor

Surde commented Jul 20, 2024

我提交了一个PR, #116 你要是会弄的话,自己下载编译一下试试~

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

2 participants