fix: regex lookbehind not supported by RSSBud (#11910)
https://caniuse.com/js-regexp-lookbehind
This commit is contained in:
parent
0b33eb37b6
commit
d6a13dc24b
|
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
title: '教务处',
|
||||
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-li-gong-da-xue',
|
||||
source: '/homepage/*',
|
||||
target: (params, url) => `/hrbust/jwzx/${url.match(/(?<=columnId=)\d+/)}`,
|
||||
target: (params, url) => `/hrbust/jwzx/${new URL(url).searchParams.get('columnId')}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue