This commit is contained in:
kunfei 2022-10-29 18:30:56 +08:00
parent 77b6d47c61
commit 9585af0702
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
* 多页目录和正文添加并发访问限制
* 阅读界面点击区域支持更多选项,中间区域也可设置
* 朗读服务和音频服务添加唤醒锁配置
* 发现不采用详情页url正则
**2022/10/22**

View File

@ -45,7 +45,7 @@ object BookList {
val analyzeRule = AnalyzeRule(ruleData, bookSource)
analyzeRule.setContent(body).setBaseUrl(baseUrl)
analyzeRule.setRedirectUrl(baseUrl)
bookSource.bookUrlPattern?.let {
if (isSearch) bookSource.bookUrlPattern?.let {
coroutineContext.ensureActive()
if (baseUrl.matches(it.toRegex())) {
Debug.log(bookSource.bookSourceUrl, "≡链接为详情页")