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

[Bug] BiliPlus解析失效 #154

Open
lanyeeee opened this issue Jul 15, 2024 · 4 comments · Fixed by #157
Open

[Bug] BiliPlus解析失效 #154

lanyeeee opened this issue Jul 15, 2024 · 4 comments · Fixed by #157
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@lanyeeee
Copy link

lanyeeee commented Jul 15, 2024

问题描述

使用BiliPlus解析漫画时,代码一定会走这个分支

if 'src="http' not in res.text:
return ""

导致retrieveAvailableEpisode函数在这里提前结束
if "" == biliplus_html:
return None

最终导致BiliPlusComic类的self.episodes内容为空

即无论什么漫画都必定解析失败,且没有提示

预期行为

在BiliPlus上有缓存的漫画章节应该能解析成功,例如《我推的孩子》几乎每一话都是有缓存的

实际行为

使用BiliPlus解析《我推的孩子》,所有章节均解析失败且没有提示

截图或录屏

image
image

哔哩哔哩漫画下载器版本号

v1.5.1

系统环境

Windows11

日志

19:53:15 | INFO | MainGUI: init - 56 |

		------------------- 程序启动,初始化主窗口 -------------------

19:53:15 | INFO | MainGUI: init - 68 | save_method: 文件夹-图片
19:53:21 | INFO | SearchComic: getResults - 63 | 正在搜索漫画:《我推的孩子》中...
19:53:22 | INFO | SearchComic: getResults - 77 | 搜索结果数量:99
19:53:24 | INFO | Comic: getComicCover - 129 | 获取《【我推的孩子】》的封面图片中...
19:53:25 | INFO | Comic: getComicCover - 129 | 获取《【我推的孩子】》的封面图片中...
19:53:28 | INFO | MainGUI: closeEvent - 103 |

		-------------------  程序正常退出 -------------------
Copy link

感谢你提交的问题,我会尽快处理! (ᗜ ˰ ᗜ)

@vanleefxp
Copy link

这个问题对应的 PR 现在是还没有被 merge? 我现在下载了代码文件然后直接运行 app.py 发现 BiliPlus 不解析的问题仍然存在,看 PR 的状态好像还没 merge. (bytheway 我其实也在下载【我推的孩子】)

@Zeal-L Zeal-L linked a pull request Aug 5, 2024 that will close this issue
@Zeal-L Zeal-L self-assigned this Aug 5, 2024
@Zeal-L Zeal-L added the good first issue Good for newcomers label Aug 5, 2024
@Zeal-L
Copy link
Owner

Zeal-L commented Aug 5, 2024

这个问题对应的 PR 现在是还没有被 merge? 我现在下载了代码文件然后直接运行 app.py 发现 BiliPlus 不解析的问题仍然存在,看 PR 的状态好像还没 merge. (bytheway 我其实也在下载【我推的孩子】)

合进 develop 分支了,最近比较忙,sorry
之后有空我再正式发版

@NOwin111
Copy link

NOwin111 commented Sep 7, 2024

坐等更新了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Development

Successfully merging a pull request may close this issue.

4 participants