k.zhang %!s(int64=4) %!d(string=hai) anos
pai
achega
b158366a05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apis/dyjx/url_jx.go

+ 1 - 1
apis/dyjx/url_jx.go

@@ -126,7 +126,7 @@ func DeWater(in models.DyJieXiInput) (error, models.DyJieXiOutput) {
 	//截取字符串
 	//comma := strings.Index(videoStr, "\"")
 	comma = strings.Index(videoStr, "\"")
-	pos = strings.Index(videoStr[comma+1:], "\"")
+	pos = strings.Index(videoStr[comma+1:], "\">")
 	fmt.Println(videoStr[comma+1 : pos])
 	//strings.Index(videoStr[comma:])
 	//fmt.Println(videoStr[comma:lastComma])