k.zhang 4 년 전
부모
커밋
b158366a05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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])