Merge pull request #4331 from iptv-org/create-data-folder

Create data folder
This commit is contained in:
Dum4G 2021-08-30 23:00:21 +03:00 committed by GitHub
commit b45e603e05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 5 deletions

View File

@ -168,6 +168,7 @@ http://example.com/stream.m3u8
- ...
- `unsorted.m3u`: playlist with channels not yet sorted.
- `scripts/`
- `data/`: data used in scripts.
- `helpers/`: helper scripts used in GitHub Actions.
- `filter.js`: used within GitHub Action to remove blacklisted channels from playlists.
- `format.js`: used within GitHub Action to format channel descriptions.

View File

@ -1,4 +1,4 @@
const blacklist = require('./helpers/blacklist.json')
const blacklist = require('./data/blacklist.json')
const parser = require('./helpers/parser')
const log = require('./helpers/log')

View File

@ -1,4 +1,4 @@
const categories = require('./categories')
const categories = require('../data/categories')
const utils = require('./utils')
const file = require('./file')

View File

@ -1,4 +1,4 @@
const categories = require('./categories')
const categories = require('../data/categories')
const parser = require('./parser')
const utils = require('./utils')

View File

@ -1,7 +1,7 @@
const transliteration = require('transliteration')
const iso6393 = require('@freearhey/iso-639-3')
const categories = require('./categories')
const regions = require('./regions')
const categories = require('../data/categories')
const regions = require('../data/regions')
const utils = {}
const intlDisplayNames = new Intl.DisplayNames(['en'], {