We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef25203 commit b377fddCopy full SHA for b377fdd
1 file changed
foundation/olivetv/douyin.go
@@ -57,7 +57,9 @@ func (this *douyin) set(tv *TV) error {
57
resp := fmt.Sprint(req.ResponseData)
58
splits := strings.Split(resp, `<script id="RENDER_DATA" type="application/json">`)
59
if len(splits) < 2 {
60
- return fmt.Errorf("fail to find url")
+ // 优化日志输出
61
+ // return fmt.Errorf("fail to find url")
62
+ return nil
63
}
64
resp = splits[1]
65
resp = strings.Split(resp, `</script>`)[0]
0 commit comments