Skip to content

Commit 6865c36

Browse files
committed
remove redundant regex for youku
1 parent 559a09c commit 6865c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/domains/youku.com.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ export default {
22

33
re: [
44
/^https?:\/\/v\.youku\.com\/v_show\/id_([a-z0-9=_]{3,})\.html/i,
5-
/^https?:\/\/news\.youku\.com\/(\w{3,})/i,
6-
/^https?:\/\/v\.youku\.com\/video\/?/i
5+
/^https?:\/\/news\.youku\.com\/(\w{3,})/i
76
],
87

98
mixins: ["*"],
@@ -19,6 +18,7 @@ export default {
1918
},
2019

2120
tests: [{
21+
// https://v.youku.com/video* redirects to https://v.youku.com/v_show/id*
2222
page: "https://www.youku.com/ku/lexue",
2323
selector: ".hscroll_wrapper_3CJzY .hscroll_content_fdYOj a"
2424
},

0 commit comments

Comments
 (0)