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

Unable to add french (fr) channels #2

Closed jeepcook closed 10 months ago

jeepcook commented 10 months ago

Hello,

I added a french IP in the index.js, but the fr m3u and xml are not generated.

Is there a log of the process to see where is the problem?

Thanks

jeepcook commented 10 months ago

Found the solution, we have to add await get('fr'); at the end of the index file.

4v3ngR commented 10 months ago

Good idea, I should loop through the mapping keys. This way, adding a new mapping will automatically get it.

4v3ngR commented 10 months ago

I've updated the code and moved the mapping into the config.json (no need to edit javascript files any more.

Thanks for the idea.

jeepcook commented 10 months ago

Tests done with this new version, everything is ok, thanks