add debug log
This commit is contained in:
1 parent
b98aab2d0d
commit
d299bbe24b
1 file changed
+2
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user