add debug log
This commit is contained in:
parent
b98aab2d0d
commit
d299bbe24b
@ -113,7 +113,9 @@ func QueryYoutubeName(id string) (n string, err error) {
|
||||
}
|
||||
|
||||
for _, v := range apiRes.Items {
|
||||
fmt.Println("data :::: ", v)
|
||||
if v.ID == id {
|
||||
fmt.Println("id match ::: ", v.Sinppet)
|
||||
return v.Sinppet.Title, nil
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user