4v3ngR / pluto_tv_scraper

Generate an m3u8 and xml (epg) for pluto tv channels
https://www.npmjs.com/package/plutotv-scraper
MIT License
21 stars 6 forks source link

Merge all regions into a single playlist and epg, Documentation #17

Closed TazDevilLooney closed 9 months ago

TazDevilLooney commented 9 months ago

Hi, I've tried various switches to the end of index.js -all and tried adding a second mapping into config.json. I'm able to get the outputs for the two regions separately but can't workout how to combine the two together. Could we have an updated document to help with this?

Script works very well I'm just stuck on the combining. Thanks

TazDevilLooney commented 9 months ago

Worked it out!

config.json

"outdir": ".", "clientID": "00000000-0000-0000-0000-000000000000", "mapping": { "us": "45.50.96.71", "uk": "92.40.183.95" }, "all": true, "group": "genre", "regionalize": false, "excludeGroups": false, "excludeChannels": false, "uniqueClientid": true, "randomClientid": false, "refresh": 0, "xTvgUrl": false

Then run.... plutotv-scraper --config (dir)/config.json

Should be 6 Entries in total, 2 x uk, 2 x us, 2 x all. ;)

4v3ngR commented 9 months ago

you could also use the --all command line option