Skip to content

Commit 614fd22

Browse files
committed
fix(regex): fix filter regex
1 parent a9dfd77 commit 614fd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const getLinksByUrl = uri => {
4949
const _exec = validRegex.exec(uri).slice(1, 3)
5050
const codeName = _exec[0]
5151
const chapter = _exec[1]
52-
const regex = /https:\/\/jkanime\.net\/jk\.php\?u=stream\/jkmedia\/([0-9a-f]{32}\/[0-9a-f]{32}\/1\/[0-9a-f]{32})\//
52+
const regex = /https:\/\/jkanime\.net\/jk\.php\?u=stream\/jkmedia\/([0-9a-f]{32}\/[0-9a-f]{32}\/\d+\/[0-9a-f]{32})\//
5353
const promises = $('.player_conte')
5454
.map(function () {
5555
return $(this).attr('src')

0 commit comments

Comments
 (0)