Merge pull request #112 from benevenstanciano/master

Update channels.csv
This commit is contained in:
Aleksandr Statciuk 2022-06-10 16:31:29 +03:00 committed by GitHub
commit dd726f4477
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -375,8 +375,9 @@ AbzyDhakad.in,Abzy Dhakad,,,IN,,,c/IN,hin,,FALSE,,,,https://abzy.com/,https://up
AbzyMovies.in,Abzy Movies,,,IN,,,c/IN,hin,movies,FALSE,,,,,https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Abzy-Movies.jpg/512px-Abzy-Movies.jpg AbzyMovies.in,Abzy Movies,,,IN,,,c/IN,hin,movies,FALSE,,,,,https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Abzy-Movies.jpg/512px-Abzy-Movies.jpg
AcademiaTV.ec,AcademiaTV,,,EC,,,c/EC,spa,,FALSE,,,,https://www.academiatv.ec/,https://www.academiatv.ec/wp-content/uploads/2021/01/academiatv-logo@2x.png AcademiaTV.ec,AcademiaTV,,,EC,,,c/EC,spa,,FALSE,,,,https://www.academiatv.ec/,https://www.academiatv.ec/wp-content/uploads/2021/01/academiatv-logo@2x.png
AcapulcoShore.us,Acapulco Shore,,,US,,,c/US,eng,,FALSE,,,,https://pluto.tv/en/live-tv/acapulco-shore,https://images.pluto.tv/channels/60c25ec6da6d6600074233a8/colorLogoPNG.png AcapulcoShore.us,Acapulco Shore,,,US,,,c/US,eng,,FALSE,,,,https://pluto.tv/en/live-tv/acapulco-shore,https://images.pluto.tv/channels/60c25ec6da6d6600074233a8/colorLogoPNG.png
Acasa.ro,Acasa,,,RO,,,c/RO,ron,entertainment,FALSE,2022-03-07,,,https://acasatv.ro/,https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Acasa_2022_flat.png/512px-Acasa_2022_flat.png
AcasaGold.ro,Acasa Gold,,,RO,,,c/RO,ron,,FALSE,,,,http://www.acasagold.ro/,https://i.imgur.com/YEBmNsc.png
AcasaTV.md,Acasa TV,,,MD,,,c/MD,ron,,FALSE,,,,,https://i.imgur.com/k1bTMPT.png AcasaTV.md,Acasa TV,,,MD,,,c/MD,ron,,FALSE,,,,,https://i.imgur.com/k1bTMPT.png
AcasaTV.ro,Acasă TV,,,RO,,,c/RO,ron,entertainment,FALSE,2022-03-07,,,https://acasatv.ro/,https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Acasa_2022_flat.png/512px-Acasa_2022_flat.png
AccessBet.ng,AccessBet,,,NG,,,c/NG,eng,,FALSE,,,,https://sport.accessbet.com/,https://www.lyngsat.com/logo/tv/aa/accessbet-ng.png AccessBet.ng,AccessBet,,,NG,,,c/NG,eng,,FALSE,,,,https://sport.accessbet.com/,https://www.lyngsat.com/logo/tv/aa/accessbet-ng.png
AccessBetLeague.ng,AccessBet League,,,NG,,,c/NG,eng,,FALSE,,,,https://sport.accessbet.com/,https://www.lyngsat.com/logo/tv/aa/accessbet-ng.png AccessBetLeague.ng,AccessBet League,,,NG,,,c/NG,eng,,FALSE,,,,https://sport.accessbet.com/,https://www.lyngsat.com/logo/tv/aa/accessbet-ng.png
AccessTV.bw,Access TV,,,BW,,,c/BW,eng,,FALSE,,,,,https://www.lyngsat.com/logo/tv/aa/access_tv_bw.png AccessTV.bw,Access TV,,,BW,,,c/BW,eng,,FALSE,,,,,https://www.lyngsat.com/logo/tv/aa/access_tv_bw.png
@ -17555,7 +17556,8 @@ PrivateCinema.tw,Private Cinema,,,TW,,,c/TW,zho,movies,FALSE,,,,,https://www.lyn
PrivateTV.nl,Private TV,,,NL,,,c/NL,eng;spa,xxx,TRUE,,,,http://www.privatetelevision.com/,https://i.imgur.com/MPEgk7e.png PrivateTV.nl,Private TV,,,NL,,,c/NL,eng;spa,xxx,TRUE,,,,http://www.privatetelevision.com/,https://i.imgur.com/MPEgk7e.png
PRNK.ru,PRNK,,,RU,,,c/RU,rus,,FALSE,,,,,https://i.imgur.com/cenLmbr.png PRNK.ru,PRNK,,,RU,,,c/RU,rus,,FALSE,,,,,https://i.imgur.com/cenLmbr.png
Pro100TV.ru,Pro100TV,Про100TV,,RU,,,c/RU,rus,,FALSE,,,,https://www.pro100tv.lv/,https://i.imgur.com/YfQEflM.png Pro100TV.ru,Pro100TV,Про100TV,,RU,,,c/RU,rus,,FALSE,,,,https://www.pro100tv.lv/,https://i.imgur.com/YfQEflM.png
Pro2.ro,Pro 2,,,RO,,,c/RO,ron,entertainment,FALSE,2017-01-01,2022-03-07,AcasaTV.ro,http://www.pro2.ro/,https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Logo_Pro_2_%282017%29.svg/512px-Logo_Pro_2_%282017%29.svg.png Pro2.ro,Pro 2,,,RO,,,c/RO,ron,entertainment,FALSE,2017-01-01,2022-03-07,Acasa.ro,http://www.pro2.ro/,https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Logo_Pro_2_%282017%29.svg/512px-Logo_Pro_2_%282017%29.svg.png
ProArena.ro,Pro Arena,,,RO,,,c/RO,ron,,FALSE,,,,http://www.proarena.ro/,https://i.imgur.com/zCGePee.png
ProCinema.ro,Pro Cinema,,,RO,,,c/RO,ron,movies,FALSE,2004-04-19,,,http://www.procinema.ro/,https://upload.wikimedia.org/wikipedia/commons/a/a3/Pro_Cinema_%2819.04.2022%29.jpg ProCinema.ro,Pro Cinema,,,RO,,,c/RO,ron,movies,FALSE,2004-04-19,,,http://www.procinema.ro/,https://upload.wikimedia.org/wikipedia/commons/a/a3/Pro_Cinema_%2819.04.2022%29.jpg
ProdvizhenieMoskva.ru,Prodvizhenie Moskva,,,RU,,,c/RU,rus,,FALSE,,,,https://www.pro-tv.info/,https://avatars.mds.yandex.net/get-tv-channel-logos/54380/2a00000177016cad653b0d8e2745a86cebce/214x121 ProdvizhenieMoskva.ru,Prodvizhenie Moskva,,,RU,,,c/RU,rus,,FALSE,,,,https://www.pro-tv.info/,https://avatars.mds.yandex.net/get-tv-channel-logos/54380/2a00000177016cad653b0d8e2745a86cebce/214x121
ProdvizhenieSibir.ru,Prodvizhenie Sibir,,,RU,,,c/RU,rus,,FALSE,,,,https://www.pro-tv.info/,https://www.lyngsat.com/logo/tv/pp/prodvizhenie_tv_ru.png ProdvizhenieSibir.ru,Prodvizhenie Sibir,,,RU,,,c/RU,rus,,FALSE,,,,https://www.pro-tv.info/,https://www.lyngsat.com/logo/tv/pp/prodvizhenie_tv_ru.png
@ -17565,7 +17567,6 @@ ProfessionalBaseball3.kr,Professional Baseball 3,프로야구 3,,KR,,,c/KR,kor,s
ProfessionalBaseball4.kr,Professional Baseball 4,프로야구 4,,KR,,,c/KR,kor,sports,FALSE,,,,,https://i.imgur.com/T6YizHC.png ProfessionalBaseball4.kr,Professional Baseball 4,프로야구 4,,KR,,,c/KR,kor,sports,FALSE,,,,,https://i.imgur.com/T6YizHC.png
ProfessionalBaseball5.kr,Professional Baseball 5,프로야구 5,,KR,,,c/KR,kor,sports,FALSE,,,,,https://i.imgur.com/u6DwJAY.png ProfessionalBaseball5.kr,Professional Baseball 5,프로야구 5,,KR,,,c/KR,kor,sports,FALSE,,,,,https://i.imgur.com/u6DwJAY.png
ProfitTV.ro,Profit TV,,,RO,,,c/RO,ron,,FALSE,,,,https://www.profit.ro/,https://static.cinemagia.ro/img/tv_station/profit-ro.jpg ProfitTV.ro,Profit TV,,,RO,,,c/RO,ron,,FALSE,,,,https://www.profit.ro/,https://static.cinemagia.ro/img/tv_station/profit-ro.jpg
ProGold.ro,Pro Gold,,,RO,,,c/RO,ron,,FALSE,,,,http://www.progoldtv.ro/,https://i.imgur.com/YEBmNsc.png
ProLyubov.ru,Pro Lyubov,Про Любовь,,RU,,,c/RU,rus,,FALSE,,,,https://www.tricolor.tv/channels/pro-lyubov/,https://i.imgur.com/QpIGAT0.png ProLyubov.ru,Pro Lyubov,Про Любовь,,RU,,,c/RU,rus,,FALSE,,,,https://www.tricolor.tv/channels/pro-lyubov/,https://i.imgur.com/QpIGAT0.png
PromarTV.ve,PromarTV,,,VE,,Yaracuy,c/VE,spa,general,FALSE,,,,,https://i.imgur.com/IkHrVCL.jpg PromarTV.ve,PromarTV,,,VE,,Yaracuy,c/VE,spa,general,FALSE,,,,,https://i.imgur.com/IkHrVCL.jpg
PromoKino.ru,Promo Kino,,,RU,,,c/RU,rus,movies,FALSE,,,,,https://i.imgur.com/9IFm4jK.png PromoKino.ru,Promo Kino,,,RU,,,c/RU,rus,movies,FALSE,,,,,https://i.imgur.com/9IFm4jK.png
@ -17585,7 +17586,6 @@ Prosveshchenie.ru,Prosveshchenie,,,RU,,,c/RU,rus,,FALSE,,,,,https://i.imgur.com/
ProTV.ro,Pro TV,,,RO,,,c/RO,ron;eng,,FALSE,1995-12-01,,,http://www.protv.ro/,https://i.imgur.com/aKAfKtW.png ProTV.ro,Pro TV,,,RO,,,c/RO,ron;eng,,FALSE,1995-12-01,,,http://www.protv.ro/,https://i.imgur.com/aKAfKtW.png
ProTVInternational.ro,Pro TV International,,,RO,,,c/RO,ron,,FALSE,,,,http://www.protv.ro/,https://www.meo.pt/PublishingImages/canais/pro-tv-internacional.png ProTVInternational.ro,Pro TV International,,,RO,,,c/RO,ron,,FALSE,,,,http://www.protv.ro/,https://www.meo.pt/PublishingImages/canais/pro-tv-internacional.png
Provence.ua,Provence,,,UA,,,c/UA;c/RU,ukr,,FALSE,,,,,https://www.lyngsat.com/logo/tv/pp/provence-ua.png Provence.ua,Provence,,,UA,,,c/UA;c/RU,ukr,,FALSE,,,,,https://www.lyngsat.com/logo/tv/pp/provence-ua.png
ProX.ro,Pro X,,,RO,,,c/RO,ron,,FALSE,,,,http://www.proxtv.ro/,https://i.imgur.com/zCGePee.png
Proximus11.be,Proximus 11,,,BE,,,c/BE;c/FR,fra,,FALSE,,,,https://proximus.be/,https://i.imgur.com/83pobqj.png Proximus11.be,Proximus 11,,,BE,,,c/BE;c/FR,fra,,FALSE,,,,https://proximus.be/,https://i.imgur.com/83pobqj.png
ProyectaTelevision.pe,Proyecta Televisión,,,PE,PE-LIM,Huacho,c/PE,spa,general,FALSE,,,,https://proyectatvhuacho.com/,https://i.imgur.com/pXspBga.png ProyectaTelevision.pe,Proyecta Televisión,,,PE,PE-LIM,Huacho,c/PE,spa,general,FALSE,,,,https://proyectatvhuacho.com/,https://i.imgur.com/pXspBga.png
PrvaFiles.rs,Prva Files,,,RS,,,c/RS,srp,,FALSE,,,,http://prvafiles.prva.rs/,https://i.imgur.com/oOffbUn.png PrvaFiles.rs,Prva Files,,,RS,,,c/RS,srp,,FALSE,,,,http://prvafiles.prva.rs/,https://i.imgur.com/oOffbUn.png

Can't render this file because it is too large.

View file

@ -26,17 +26,17 @@ async function main() {
for (let filepath of allFiles) { for (let filepath of allFiles) {
if (!filepath.endsWith('.csv')) continue if (!filepath.endsWith('.csv')) continue
const eol = await file.eol(filepath)
if (eol !== 'CRLF')
return handleError(`Error: file must have line endings with CRLF (${filepath})`)
const csvString = await file.read(filepath) const csvString = await file.read(filepath)
if (/\s+$/.test(csvString)) if (/\s+$/.test(csvString))
return handleError(`Error: empty lines at the end of file not allowed (${filepath})`) return handleError(`Error: empty lines at the end of file not allowed (${filepath})`)
const rows = csvString.split('\r\n') const rows = csvString.split(/\r\n/)
const headers = rows[0].split(',') const headers = rows[0].split(',')
for (let [i, line] of rows.entries()) { for (let [i, line] of rows.entries()) {
if (line.indexOf('\n') > -1)
return handleError(
`Error: row ${i + 1} has the wrong line ending character, should be CRLF (${filepath})`
)
if (line.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/).length !== headers.length) if (line.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/).length !== headers.length)
return handleError(`Error: row ${i + 1} has the wrong number of columns (${filepath})`) return handleError(`Error: row ${i + 1} has the wrong number of columns (${filepath})`)
} }