A very simple tool to get the video url and some other stuff from a vivo.sx video. The alternative domain vivo.st is also supported. This package can be used as a CLI and as library.
Only tested on Linux, but should work on Mac and Windows too.
Get the latest binaries if you just want the command line version.
Or install and run it directly from source
$ git clone https://git.1-hub.cnbytedream/vivo
$ cd vivo
$ go run ./cmd/vivo
For help how to use the cli, see here
If you want to install this package as library, use
$ go get github.com/bytedream/vivo
For a example how to use the libary, see here.
For general help, use the -h
flag when executing the binary.
The cli has multi video support, so you can safely specify multiple urls when executing it.
Multiple video download is supported, so you can safely specify more than one url / video to download.
$ vivo https://vivo.sx/1234567890
The -i
flag shows only information about the video
$ vivo -i https://vivo.sx/1234567890
With the -o
flag, a custom output path / file can be specified. By default the file will be downloaded in the current path.
$ vivo -o OwO.mp4 https://vivo.sx/1234567890
If you want to hide your real location or something other which requires a proxy, you can use the -q
flag to specify it.
$ vivo -p https://0.0.0.0:0000
-
-c
- cleanDisable colors and the separator between multiple video downloads.
-
-s
- sourceShows only the source video url.
-
-q
- quietDisable the complete output.
Get infos about a video
package main
import (
"fmt"
"github.com/bytedream/vivo"
)
func main() {
// this extract all the infos about the video
vivoVideo, err := vivo.GetVideo("https://vivo.sx/cf2137f496")
if err != nil {
panic(err)
}
// url of the video
fmt.Println(vivoVideo.VideoURL)
}
This project is licensed under the Mozilla Public License 2.0 (MPL-2.0) - see the LICENSE file for more details.