mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
increase timeout for firstmedia.com
This commit is contained in:
parent
51c5bc6af8
commit
ee035fc676
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ dayjs.extend(utc);
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: "firstmedia.com",
|
site: "firstmedia.com",
|
||||||
days: 1,
|
days: 1,
|
||||||
|
request: {
|
||||||
|
timeout: 30000 // 30 seconds
|
||||||
|
},
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://www.firstmedia.com/ajax/schedule?date=${date.format("DD/MM/YYYY")
|
return `https://www.firstmedia.com/ajax/schedule?date=${date.format("DD/MM/YYYY")
|
||||||
}&channel=${channel.site_id}&start_time=1&end_time=24&need_channels=0`;
|
}&channel=${channel.site_id}&start_time=1&end_time=24&need_channels=0`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue