mirror of
https://github.com/bytedream/vivo.git
synced 2025-05-09 20:25:09 +02:00
Removed debugging
This commit is contained in:
parent
afefd4b0bb
commit
18472ec3d0
2
vivo.go
2
vivo.go
@ -2,7 +2,6 @@ package vivo
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
@ -50,7 +49,6 @@ func GetVideoWithProxy(URL string, proxy *http.Client) (*Vivo, error) {
|
||||
return &Vivo{}, err
|
||||
}
|
||||
bodyAsString := string(bodyAsBytes)
|
||||
fmt.Println(bodyAsString)
|
||||
|
||||
parameter := regexp.MustCompile("(?s)InitializeStream\\s*\\(\\s*({.+?})\\s*\\)\\s*;").FindString(bodyAsString)
|
||||
parameter = strings.NewReplacer("\n", "", "\t", "", "InitializeStream ({", "", "});", "", "'", "\"").Replace(strings.TrimSpace(parameter))
|
||||
|
Loading…
x
Reference in New Issue
Block a user