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

当search内容包含空格(%20)时出错 #182

Closed
ntgmc opened this issue Feb 10, 2024 · 0 comments
Closed

当search内容包含空格(%20)时出错 #182

ntgmc opened this issue Feb 10, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@ntgmc
Copy link

ntgmc commented Feb 10, 2024

我已经确认

  • 使用的当前版本为最新版本
  • 使用最新的CI版本仍然存在该问题CI传送门
  • issue区没有类似的情况(有的话请直接去该问题讨论)

问题描述
当search内容包含空格(%20)时出错,观察log发现位于

发送GET请求出现异常!java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.bilibili.com/x/space/wbi/arc/search?mid=161775300&ps=20&tid=3&pn=1&keyword=EP -&order=pubdate&platform=web&w_rid=3cf0d57368e49c09bd8506b6160657c7&wts=1707541595

推测原因应该是EP%20-被转码为EP -后没有转回去,实测发现搜索词为EP时无异常

相关信息

log.txt

@nICEnnnnnnnLee nICEnnnnnnnLee added the bug Something isn't working label Feb 10, 2024
@nICEnnnnnnnLee nICEnnnnnnnLee added this to the V6.30 milestone Feb 10, 2024
nICEnnnnnnnLee added a commit that referenced this issue Feb 23, 2024
* 新增: 添加功能,可以周期性地进行“一键下载”,并通报结果。
* 优化: 现在按平台和架构编译了四个版本ffmpeg,缺省时符合条件的会提示进行下载:`win_amd64`、`linux_amd64`、`win_arm64`、`linux_arm64`
* 优化: 现在补充完善了浏览器指纹等方面的cookie,期望是预防风控 #177, #180
    + 因为尚不清楚相关机制,目前`通过API上传指纹`这一动作只在`刷新cookie`时才会进行。在遇到风控时,不妨先试一试菜单栏里的`刷新cookie`选项。
    + 现在最好不要随意修改配置的UA,如果必要,需要在隐私模式下抓取cookie并抓包相应API的payload。详见配置页。
* 修复: #182 考虑在`UP主所有视频`类型的链接解析时,keyword中含有空格的情况。
* 删除: 移除解析分页链接时`promptAll`模式相关代码。
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