vivo/README.md
2020-10-31 14:01:25 +01:00

38 lines
720 B
Markdown

# vivo
A very simple tool to get the video url and some other stuff from a [vivo.sx](https://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:
```go
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](LICENCE) file for more details