Commit Graph

395 Commits

Author SHA1 Message Date
freearhey dda70dba5c Update format.js 2021-05-07 18:55:59 +03:00
freearhey 919ba2f8c7 Update db.js 2021-05-07 18:34:20 +03:00
freearhey cdcd0b0907 Update generate.js 2021-05-07 18:34:14 +03:00
freearhey 9e29c55e55 Update parser.js 2021-05-07 18:34:09 +03:00
freearhey 9bd0a8c816 Update format.js
Skip stalled requests
2021-05-07 16:21:33 +03:00
freearhey c37a56c8ea Skip stalled requests 2021-05-07 16:17:37 +03:00
freearhey 334615989e Update format.js 2021-05-07 12:51:57 +03:00
freearhey 60d3f12ca5 Update format.js 2021-05-07 03:29:54 +03:00
freearhey 6e47b4008d Update format.js 2021-05-07 03:22:44 +03:00
freearhey 213a5a97b3 Update clean.js 2021-05-07 03:19:28 +03:00
freearhey 0d523b0386 Update clean.js 2021-05-07 02:52:55 +03:00
freearhey e68602fdd1 Added debug mode 2021-05-07 02:52:11 +03:00
freearhey 745fe395b4 Remove test.js
Has been replaced by clean.js
2021-05-07 00:35:55 +03:00
freearhey f0ef3f9b83 Merge branch 'master' into create-clean-script 2021-05-06 17:06:40 +03:00
freearhey a3af354b14 Update parser.js 2021-05-06 16:27:16 +03:00
freearhey 86906f3cc4 Create remove-duplicates.js 2021-05-06 16:25:02 +03:00
freearhey c396092bbf Update format.js 2021-05-06 16:25:00 +03:00
freearhey af6e6ada81 Update format.js 2021-05-06 16:05:29 +03:00
freearhey e2e6d6bfdd Update clean.js 2021-05-06 15:50:20 +03:00
freearhey 1924f06b3b Update format.js 2021-05-06 15:21:05 +03:00
freearhey 836b33e401 Update format.js 2021-05-06 15:14:39 +03:00
freearhey fbe2311fba Update format.js 2021-05-06 15:13:01 +03:00
freearhey f6a866c71b Update clean.js 2021-05-06 15:03:39 +03:00
freearhey 7c83e04366 Update clean.js 2021-05-06 13:46:09 +03:00
freearhey 10357289d3 Update clean.js
Ignore any error code except 404
2021-05-06 02:25:25 +03:00
freearhey 23d6241b03 Create clean.js 2021-05-06 02:11:51 +03:00
freearhey bc6d62d4d7 Update format.js 2021-05-06 02:11:43 +03:00
freearhey 9aeb58e15e Update parser.js
- remove tvg-url from output
- replace short arg with options object
2021-05-06 02:11:35 +03:00
freearhey 261073109a Update test.js 2021-05-06 02:10:28 +03:00
freearhey 96837d3753 Update format.js
- check if the channel already has the resolution specified
- small refactoring
2021-05-06 01:09:32 +03:00
freearhey 735bc5c396 Detect the resolution on each run 2021-05-06 00:43:53 +03:00
freearhey ed490849fb Update generate.js
Removed extra check
2021-04-24 16:11:19 +03:00
freearhey f5dc1387ce Update generate.js
Comparing each link description with the buffer
2021-04-24 15:44:04 +03:00
freearhey 3b95579c73 Update parser.js
- renamed toJSON() to toObject()
- created method getInfo()
2021-04-24 15:42:29 +03:00
freearhey 144dce1b96 Update blacklist.json 2021-04-23 23:07:03 +03:00
freearhey 61a86de1be Update format.js
Remove duplicates before sorting
2021-04-16 05:18:18 +03:00
freearhey 214108eb0a Update test.js
- exclude 403 error from log (Usually occurs only if the link is geo-blocked)
- skip link with rtmp protocol (Not supported by axios client)
2021-04-10 23:17:05 +03:00
freearhey 1630366147 Update utils.js 2021-03-27 15:09:20 +03:00
freearhey bd7c6dae49 Update format.js
Remove duplicates inside unsorted.m3u itself
2021-03-27 15:09:13 +03:00
freearhey ca655e48b0 Added `Sky TG24` channel to blacklist
Details: https://github.com/iptv-org/iptv/pull/2294#issue-601900307
2021-03-27 04:29:45 +03:00
freearhey 546ab6a69c Update parser.js
Skip playlist when it fills tvg-name
2021-03-07 14:17:54 +03:00
freearhey 80f3518d57 Remove epg parser 2021-03-06 21:22:23 +03:00
freearhey 1c4defd9ae Update parser.js
Generates the missing tvg-id based on the channel name
2021-03-06 21:17:26 +03:00
freearhey 24e2268e96 Add name2id function 2021-03-06 21:14:34 +03:00
freearhey c7ca51254a Update parser.js
Adds missing tvg-name to channels description
2021-03-06 20:18:36 +03:00
freearhey b2eda1f755 Update test.js
- fixes issue with error logging
- update console message
2021-03-01 03:13:56 +03:00
freearhey 22fd538732 Update format.js
Filter unsorted channels too
2021-03-01 01:51:14 +03:00
freearhey 73ada87393 Update format.js
Deletes blacklisted channels
2021-03-01 01:43:45 +03:00
freearhey b691aeecd7 Create blacklist.json
Source: https://github.com/iptv-org/iptv/issues/1831
2021-03-01 01:43:08 +03:00
freearhey 4c457f98fa Update format.js
Ignore protocol during duplicates search for unsorted channels too
2021-03-01 01:21:13 +03:00
freearhey 0ca88e68f8 Update format.js
Ignore protocol on duplicate search
2021-03-01 01:09:51 +03:00
freearhey 6517e9552c Update generate.js 2021-02-20 15:47:41 +03:00
freearhey 4998c24d3b Update parser.js 2021-02-20 15:47:05 +03:00
freearhey 2fa712c1ad Update db.js 2021-02-20 15:46:56 +03:00
Aleksandr Statciuk 004aa949d1
Update regions.json 2021-02-14 10:43:16 +03:00
themak1985 bbccb261c4
Update regions.json 2021-02-13 16:11:43 -05:00
freearhey 213704bced Update generate.js 2021-02-11 07:55:54 +03:00
freearhey 719726eeda Update update-readme.js 2021-02-11 07:38:39 +03:00
freearhey c10c6a3ef1 Update generate.js 2021-02-11 07:38:35 +03:00
freearhey dac7d302ea Update update-readme.js 2021-02-11 07:28:35 +03:00
freearhey fdecab18b5 Update db.js 2021-02-11 07:27:48 +03:00
freearhey 1c5eae5256 Update update-readme.js 2021-02-11 07:16:44 +03:00
freearhey acb2a8b193 Update generate.js 2021-02-11 07:16:39 +03:00
freearhey 859cd32f86 Update db.js 2021-02-11 07:16:19 +03:00
freearhey e50b1251fc Update generate.js 2021-02-10 17:14:43 +03:00
freearhey f0c88d293c Update generate.js 2021-02-10 17:10:30 +03:00
freearhey f366bb7b5f Update db.js 2021-02-10 17:10:27 +03:00
freearhey bace0e81d6 Update utils.js 2021-02-10 17:10:23 +03:00
freearhey 1d11c69ba4 Update generate.js 2021-02-10 17:03:47 +03:00
freearhey cfd11b481b Update db.js 2021-02-10 17:03:42 +03:00
freearhey 60f9d3867f Update generate.js 2021-02-10 16:39:40 +03:00
freearhey ec482d396c Create db.js 2021-02-10 16:39:35 +03:00
freearhey ef17c0056d Update generate.js 2021-02-10 11:59:50 +03:00
freearhey 37845bb0da Update generate.js 2021-02-10 11:57:56 +03:00
freearhey 7ea7621a98 Added ARAB codes 2021-02-10 08:13:46 +03:00
freearhey 184ff41d00 Update regions.json 2021-02-09 15:14:07 +03:00
freearhey 58ee48ee38 Added MAGHRIB and WAFR codes 2021-02-09 06:41:27 +03:00
freearhey 12dc0657ba Update utils.js 2021-02-08 13:25:29 +03:00
freearhey d818a37947 Update regions.json 2021-02-08 13:25:23 +03:00
freearhey af258dcfe4 Removed EPG column
EPG no longer corresponds to the countries for which they were created.
2021-02-08 12:08:16 +03:00
freearhey 3bf95276a6 Added CIS codes 2021-02-08 11:17:14 +03:00
freearhey 5017d4ea76 Added HISPAM codes 2021-02-08 08:23:59 +03:00
freearhey 2045c5305f Update parser.js 2021-02-08 07:01:46 +03:00
freearhey 89b60e7bdf Added CAS codes 2021-02-08 06:28:34 +03:00
freearhey eefc44de40 Added CARIB codes 2021-02-07 05:17:35 +03:00
freearhey 688eee8d6b Added LATAM, MIDEAST, NORAM and SAS 2021-02-07 04:51:12 +03:00
freearhey c18842e63c Update regions.json 2021-02-01 07:28:40 +03:00
freearhey 04e735d18c Sort the codes 2021-01-31 22:04:55 +03:00
freearhey fbff297725 Convert regions.js to json 2021-01-31 22:01:46 +03:00
freearhey 2c21f45508 Convert categories.js to json 2021-01-31 22:01:34 +03:00
freearhey ded70c18b9 Update update-readme.js 2021-01-31 20:19:01 +03:00
freearhey 9a96aaa4fe Update utils.js 2021-01-31 20:11:59 +03:00
freearhey 96588a97d0 Update parser.js 2021-01-31 20:11:56 +03:00
freearhey 325d86d77a Update generate.js 2021-01-31 20:11:52 +03:00
freearhey 75ce8b6a3d Create regions.js 2021-01-31 20:11:47 +03:00
freearhey 0b4a86becd Create categories.js 2021-01-31 20:11:41 +03:00
freearhey 598a495239 Update utils.js 2021-01-30 07:32:31 +03:00
freearhey 6a33900a10 Update parser.js 2021-01-30 07:32:27 +03:00
freearhey 42b28c0d3f Update parser.js 2021-01-30 07:19:17 +03:00
freearhey 9c2285ba48 Update format.js 2021-01-30 07:18:06 +03:00
freearhey 8127e77b07 Update test.js 2021-01-30 06:41:19 +03:00
freearhey ea761db9d5 Update update-readme.js 2021-01-30 06:26:15 +03:00
freearhey a61288c310 Update parser.js 2021-01-30 06:18:43 +03:00
freearhey 13f1a91afb Update generate.js 2021-01-30 06:18:21 +03:00
freearhey 9b317ce5a6 Update utils.js 2021-01-30 06:16:44 +03:00
freearhey 65471a2c2d Create parser.js 2021-01-30 02:26:29 +03:00
freearhey c110dd4e92 Update generate.js 2021-01-30 02:26:23 +03:00
freearhey eb7b8c55b0 Update format.js 2021-01-30 02:26:20 +03:00
freearhey 60b6597557 Rename helper.js to utils.js 2021-01-30 02:01:01 +03:00
freearhey cb2c787c3c Update helper.js 2021-01-30 01:58:52 +03:00
freearhey 344dc88cc3 Update helper.js 2021-01-29 22:16:40 +03:00
freearhey 1c1331e038 Update generate.js 2021-01-29 22:16:33 +03:00
freearhey a1dfa0f942 Update format.js 2021-01-29 22:16:18 +03:00
freearhey fcbe98fbd2 Update helper.js 2021-01-29 21:31:00 +03:00
freearhey 7fae6d1ad6 Update generate.js 2021-01-29 21:30:58 +03:00
freearhey e4054d4f2e Update format.js
Pass playlist to createChannel()
2021-01-29 21:30:54 +03:00
freearhey 6064cad87f Update helper.js 2021-01-27 18:54:22 +03:00
freearhey b303ab4dd5 Update generate.js 2021-01-27 18:54:08 +03:00
freearhey ec94896608 Update update-readme.js 2021-01-27 18:33:14 +03:00
freearhey d208ba0de9 Update helper.js 2021-01-27 18:33:11 +03:00
freearhey ee03a3c727 Update generate.js 2021-01-27 18:19:43 +03:00
freearhey a41bda5f5e Update helper.js 2021-01-27 18:19:40 +03:00
freearhey ae2aa49e51 Update format.js
Sort channels by name in `unsorted.m3u`
2021-01-27 17:32:16 +03:00
freearhey c3676dd23c Update test.js 2021-01-20 03:11:19 +03:00
freearhey c11ce03a5c Update format.js 2021-01-20 01:02:40 +03:00
freearhey 2a5e17ad2b Update helper.js
Add sleep function
2021-01-20 01:02:24 +03:00
freearhey 84f3470bb3 Update format.js 2021-01-19 22:08:35 +03:00
freearhey 407b7204bd Skip SSL certificate validation on request 2021-01-19 15:53:22 +03:00
freearhey 087a00297b Increase maxContentLength 2021-01-19 02:38:37 +03:00
freearhey 5a378b8c42 Add `--timeout` parameter 2021-01-19 00:01:25 +03:00
freearhey 5ae4e9f85e Add --delay parameter 2021-01-18 21:28:22 +03:00
freearhey db799ab89c Add --resolution flag 2021-01-18 21:20:07 +03:00
freearhey fe67c9fc0b Merge branch 'master' into add-resolution-to-channel-name 2021-01-18 21:06:09 +03:00
freearhey 7649c7078c Install commander package 2021-01-17 18:00:52 +03:00
freearhey 00a3655ff7 Update format.js 2021-01-11 15:07:38 +03:00
freearhey ae03a42b86 Update format.js
- Added request delay as parameter
- Added progress bar in resolution detection
- Removed extra console logs
2021-01-11 15:06:03 +03:00
freearhey 9e9773e853 Update helper.js 2021-01-11 15:04:01 +03:00
freearhey ba77a54b5d Update format.js
- Adds stream quality parser
- More detailed console logs when debug mode is enabled
2021-01-11 13:55:57 +03:00
freearhey 507f30166c Update generate.js
- Skip channels without url
2021-01-11 13:52:12 +03:00
freearhey b16b1e9f57 Update helper.js 2021-01-11 13:51:39 +03:00
freearhey 7e5c05148a Skip "403 Forbidden" error during test
Usually gives "false positive" results
2021-01-07 13:51:14 +03:00
freearhey fe80b52f0f Added unsorted playlist 2020-09-17 23:30:28 +03:00
freearhey 48cc5e021c Filter category by name 2020-09-17 23:28:11 +03:00
freearhey e0f6c38d81 Remove duplicates from log 2020-09-17 16:51:03 +03:00
freearhey 45d92c14c9 Update test.js
Fixes wrong channels counter
2020-09-16 16:05:25 +03:00
freearhey 80b1fb8151 Exclude timed out links from logs 2020-05-27 20:14:06 +03:00
freearhey dccd10d0a3 Increase timeout up to 60 seconds 2020-05-26 22:10:28 +03:00
freearhey 9dd44875ef Format each playlist at every run 2020-05-26 15:57:29 +03:00
freearhey f66eac0457 Removed parseMessage function 2020-05-26 15:23:36 +03:00
freearhey de7a9c2a4a Installed iptv-checker-module package 2020-05-26 15:23:22 +03:00
freearhey 057948d6c2 Added emoji flags to list of countries 2020-05-06 18:02:07 +03:00
freearhey 1e20a90b0d Created code2flag() function 2020-05-06 18:01:36 +03:00
freearhey 118e5a4a40 Update generate.js 2020-05-06 13:13:24 +03:00
freearhey 0643d5eb1c Update format.js 2020-05-04 16:33:02 +03:00
freearhey 78cecd8594 Fixes channel name issue 2020-05-04 16:32:58 +03:00
freearhey 595b4e044c Created channel.setLanguage() method 2020-05-04 16:31:58 +03:00
freearhey ca06ca5f65 Generate channels.json
Issue #1314
2020-05-04 16:23:36 +03:00
freearhey 0a8f8ba400 Code refactoring 2020-05-04 16:23:03 +03:00
freearhey bc570de9ce Moved filterPlaylist() back to helper.js
Need for test.js
2020-04-25 19:58:32 +03:00
freearhey b95e9e25f6 Fixes missing languages
Closes #1249
2020-04-22 17:49:04 +03:00
freearhey 7b5510e3a8 Added support for multiple languages 2020-04-22 17:27:42 +03:00
freearhey 97b507b65f Added filter of unsorted channels 2020-04-22 16:41:54 +03:00
freearhey 4e4b9ea77a Replaced langs package with iso-639-3 2020-04-18 17:16:56 +03:00
freearhey e9efc5b5f9 Moved filterPlaylists function to format.js 2020-04-18 17:02:02 +03:00
freearhey 56fae45453 Added support for multiple languages per channel 2020-04-12 18:33:06 +03:00
freearhey 80cbff843c Added support for #EXTVLCOPT:http-referrer and #EXTVLCOPT:http-user-agent stream options 2020-04-11 18:56:41 +03:00
freearhey eb2e7b226e Replace iso6391 package with langs 2020-04-11 04:51:20 +03:00
freearhey 97f0454d20 Make code prettier 2020-04-11 04:34:50 +03:00
freearhey d9bef97c88 Make code prettier 2020-04-11 04:33:53 +03:00
freearhey 5ad89cf008 Add custom http User-Agent and make code prettier 2020-04-11 03:54:32 +03:00
freearhey fbabf907d2 Removed generateFullIndex() function 2019-12-05 18:31:48 +03:00
freearhey 5eaa4c794b Create .nojekyll file 2019-11-13 17:27:59 +03:00
freearhey ed1950e8db Fix "Main playlists not updating" issue 2019-11-13 16:23:37 +03:00
freearhey 1a5dbcbd82 Added .nojekyll file 2019-11-12 16:37:43 +03:00
freearhey 7fb87757f6 Remove .nojekill file 2019-11-11 13:05:45 +03:00
freearhey 3f1235f68a Create .nojekill file 2019-11-10 21:00:47 +03:00
freearhey 8f1208a8de Fixed error in calculation of the number of channels 2019-11-04 12:46:57 +03:00
freearhey fee6b416f3 Update generate.js 2019-11-03 20:25:33 +03:00
freearhey c67426689b Small refactoring 2019-11-03 20:21:35 +03:00
freearhey 39a12432d7 Added an indentation to generated tables 2019-11-03 20:07:43 +03:00
freearhey 0ba0582fcf Update format.js 2019-11-03 19:01:04 +03:00
freearhey 3e9176dede Update helper.js 2019-11-03 19:00:57 +03:00
freearhey 11f7e4cf45 wip 2019-11-03 16:03:35 +03:00
freearhey fc469c0568 wip 2019-11-03 10:56:54 +03:00
freearhey 9d647e8c68 Added support tvg-url attribute 2019-11-02 17:30:12 +03:00
freearhey 0ee915fbbd Added support tvg-country attribute 2019-11-02 17:21:19 +03:00
freearhey 1e3b28384d Created sortBy() function 2019-11-02 15:43:41 +03:00
freearhey cb2fbc6962 Renamed index.content.m3u to index.category.m3u 2019-11-02 15:11:33 +03:00
freearhey 24755101b2 Move test script to /scripts 2019-11-02 14:10:57 +03:00
freearhey 6a710f607b Update generate.js 2019-11-02 13:50:56 +03:00
freearhey 77aabda898 Update update-readme.js 2019-11-02 13:50:40 +03:00
freearhey 7d2745fff7 wip 2019-11-02 13:26:21 +03:00
freearhey d908690a56 Small fixes 2019-11-02 12:54:11 +03:00
freearhey 70503824f7 Fixes sorting issue 2019-11-02 12:53:59 +03:00
freearhey 97f6a68df8 Move all functions to scripts folder 2019-11-02 12:45:09 +03:00