Added all files

This commit is contained in:
2020-10-31 14:01:25 +01:00
commit 88ce766bfe
4 changed files with 517 additions and 0 deletions

38
README.md Normal file
View File

@ -0,0 +1,38 @@
# 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