cmd/streamdata: format mirror field
This is useful for referring to the corresponding YouTube video. Signed-off-by: Yonah <contrib@gensokyo.uk>
This commit is contained in:
@@ -18,4 +18,7 @@ func printVOD(v *streamdata.VOD) {
|
|||||||
} else {
|
} else {
|
||||||
fmt.Printf("YouTube : %s | %s\n", v.Title, date)
|
fmt.Printf("YouTube : %s | %s\n", v.Title, date)
|
||||||
}
|
}
|
||||||
|
if v.Mirror != "" {
|
||||||
|
fmt.Println("Mirror :", v.Mirror)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user