mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-16 12:00:04 -04:00
Update create-database.js
This commit is contained in:
parent
23aef8722d
commit
091d43c4f7
4 changed files with 22 additions and 21 deletions
|
@ -1,10 +0,0 @@
|
|||
module.exports = function ({ title }) {
|
||||
return title
|
||||
.trim()
|
||||
.split(' ')
|
||||
.map(s => s.trim())
|
||||
.filter(s => {
|
||||
return !/\[|\]/i.test(s) && !/\((\d+)P\)/i.test(s)
|
||||
})
|
||||
.join(' ')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue