mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-20 10:07:34 +00:00
fix: stricter ep number regex
This commit is contained in:
parent
bc6ed3ac18
commit
f99fbc06fc
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ export function getReleasesRSSurl (val) {
|
|||
const rss = rssmap[val] || val
|
||||
return rss && new URL(rssmap[val] ? `${rss}${settings.rssQuality ? `"${settings.rssQuality}"` : ''}` : rss)
|
||||
}
|
||||
// matches: OP01 ED01 EP01 E01 01v -01- _01_ with spaces and stuff
|
||||
const epNumRx = /[EO]?[EPD _-]\d{2}[v _-]|\d{2}[-~]\d{2}/i
|
||||
// matches: OP01 ED01 EP01 E01 01v 01. -01- _01_ with spaces and stuff
|
||||
const epNumRx = /[EO]?[EPD _-—]\d{2}[v _.-—]|\d{2} ?[-~—] ?\d{2}/i
|
||||
async function getRSSEntries ({ media, episode, mode, ignoreQuality }) {
|
||||
// mode cuts down on the amt of queries made 'check' || 'batch'
|
||||
const titles = createTitle(media).join(')|(')
|
||||
|
|
|
|||
Loading…
Reference in a new issue