Skip to content

Commit

Permalink
自动保存channel.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHan1233 committed Jan 31, 2025
1 parent 6a014f2 commit 7cee201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/iptv/hwctc/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (c *Client) GetAllChannelList(ctx context.Context) ([]iptv.Channel, error)
}

// 解析时移地址
timeShiftURL, err := url.Parse(string(matches[8]))
timeShiftURL, err := url.Parse(string(matches[7]))
if err != nil {
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])))
}
Expand Down

0 comments on commit 7cee201

Please sign in to comment.