Skip to content

Commit 0457fa4

Browse files
authored
Merge pull request #2 from goaaats/patch-1
Add page regex to character search
2 parents 17da57a + db6a883 commit 0457fa4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

search/character.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"selector": "ul.btn__pager:nth-child(7) > li:nth-child(4) > a:nth-child(1)"
3535
},
3636
"PAGE_INFO": {
37-
"selector": "#community > div.ldst__bg > div.ldst__contents.clearfix > div.ldst__main > div > ul:nth-child(57) > li.btn__pager__current"
37+
"selector": "#community > div.ldst__bg > div.ldst__contents.clearfix > div.ldst__main > div > ul:nth-child(57) > li.btn__pager__current",
38+
"regex": "Page (?P<CurrentPage>[0-9*]) of (?P<NumPages>[0-9*])"
3839
}
39-
}
40+
}

0 commit comments

Comments
 (0)