Skip to content

Commit

Permalink
fix uukanshu domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
missdeer committed Jan 18, 2024
1 parent 79b5b03 commit 5dd844e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ https://github.com/missdeer/getnovel/releases
## 内建支持网站

* 飘天: https://www.piaotia.com
* UU看书: https://www.uukanshu.com
* UU看书: https://www.uukanshu.net

## 注意

Expand Down
4 changes: 2 additions & 2 deletions uukanshu.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ func extractUukanshuChapterContent(rawPageContent []byte) (c []byte) {
func init() {
registerNovelSiteHandler(&NovelSiteHandler{
Title: `UU看书`,
Urls: []string{`https://www.uukanshu.com/`},
Urls: []string{`https://www.uukanshu.net/`},
CanHandle: func(u string) bool {
reg := regexp.MustCompile(`https://www\.uukanshu\.com/b/[0-9]+/`)
reg := regexp.MustCompile(`https://www\.uukanshu\.net/b/[0-9]+/`)
return reg.MatchString(u)
},
ExtractChapterList: extractUukanshuChapterList,
Expand Down

0 comments on commit 5dd844e

Please sign in to comment.