mirror of
https://github.com/iptv-org/epg
synced 2026-07-01 04:37:11 -04:00
dbe2999f0a
This site is protected with AWS WAF, so to be able to scrape the guide WAF token must be provided in `aws-waf-token` cookie. Currenlty the token is solved using https://github.com/tohenk/node-awswaf. Signed-off-by: Toha <tohenk@yahoo.com>
ontvtonight.com
https://www.ontvtonight.com/au/guide/ (Australia)
https://www.ontvtonight.com/ca/guide/ (Canada)
https://www.ontvtonight.com/guide/ (US)
Download the guide
Australia:
npm run grab --- --channels=sites/ontvtonight.com/ontvtonight.com_au.channels.xml
Canada:
npm run grab --- --channels=sites/ontvtonight.com/ontvtonight.com_ca.channels.xml
US:
npm run grab --- --channels=sites/ontvtonight.com/ontvtonight.com_us.channels.xml
Update channel list
Australia:
npm run channels:parse --- --config=./sites/ontvtonight.com/ontvtonight.com.config.js --output=./sites/ontvtonight.com/ontvtonight.com_au.channels.xml --set=country:au
Canada:
npm run channels:parse --- --config=./sites/ontvtonight.com/ontvtonight.com.config.js --output=./sites/ontvtonight.com/ontvtonight.com_ca.channels.xml --set=country:ca
US:
npm run channels:parse --- --config=./sites/ontvtonight.com/ontvtonight.com.config.js --output=./sites/ontvtonight.com/ontvtonight.com_us.channels.xml --set=country:us
Test
npm test --- ontvtonight.com