mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
wip
This commit is contained in:
parent
9d9245aef6
commit
14a59c1f98
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ async function main() {
|
||||||
for(let channelId in buffer[epgUrl].channels) {
|
for(let channelId in buffer[epgUrl].channels) {
|
||||||
let c = buffer[epgUrl].channels[channelId]
|
let c = buffer[epgUrl].channels[channelId]
|
||||||
for(let epgName of c.names) {
|
for(let epgName of c.names) {
|
||||||
let regexp = new RegExp(`^${epgName}`, 'i')
|
let regexp = new RegExp(`^${epgName}$`, 'i')
|
||||||
if(regexp.test(channel.title)) {
|
if(regexp.test(channel.title)) {
|
||||||
if(!channel.id) {
|
if(!channel.id) {
|
||||||
channel.id = c.id
|
channel.id = c.id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue