This commit is contained in:
huangsimin 2018-12-20 10:33:44 +08:00
parent f550fff92a
commit e40493c00f

View File

@ -52,7 +52,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists()) log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists())
result := gjson.Parse(data) result := gjson.Parse(data)
log.Println(result.String()) // log.Println(result.String())
if result.Get("mixed").Exists() { if result.Get("mixed").Exists() {
log.Println("this is mixed") log.Println("this is mixed")
log.Println(result.Get("mixed.track_url").Exists()) log.Println(result.Get("mixed.track_url").Exists())