mirror of
https://github.com/bytedream/vivo.git
synced 2025-05-09 20:25:09 +02:00
vivo
A very simple tool to get the video url and some other stuff from a vivo.sx video.
Only tested on linux, but should work on Mac and Windows too.
Install:
go get github.com/bytedream/vivo
Usage
Get infos about a video:
package main
import (
"fmt"
"github.com/bytedream/vivo"
)
func main() {
vivoVideo, err := vivo.GetVideo("https://vivo.sx/1234567890")
// this extract all the infos about the video
if err != nil {
panic(err)
}
fmt.Println(vivoVideo.VideoURL) // url of the video
}
License
This project is licensed under the Mozilla Public Licence 2.0 (MPL-2.0) licence - see the LICENSE file for more details
Languages
Go
100%