Skip to content

Commit 7cee201

Browse files
committed
自动保存channel.txt
1 parent 6a014f2 commit 7cee201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/iptv/hwctc/channel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (c *Client) GetAllChannelList(ctx context.Context) ([]iptv.Channel, error)
124124
}
125125

126126
// 解析时移地址
127-
timeShiftURL, err := url.Parse(string(matches[8]))
127+
timeShiftURL, err := url.Parse(string(matches[7]))
128128
if err != nil {
129129
c.logger.Warn("The timeShiftURL of this channel is illegal. Use the default value: nil.", zap.String("channelName", channelName), zap.String("timeShiftURL", string(matches[7])))
130130
}

0 commit comments

Comments
 (0)