|
@@ -84,9 +84,9 @@ func DeWater(in models.DyJieXiInput) (error, models.DyJieXiOutput) {
|
|
|
}
|
|
|
|
|
|
|
|
|
- var videoUrl = inData.ItemList[0].Video.PlayAddr.URLList[0]
|
|
|
+
|
|
|
|
|
|
- out.Data.VideoUrl = strings.Replace(videoUrl, "playwm", "play", 1)
|
|
|
+
|
|
|
|
|
|
|
|
|
out.Data.AudioUrl = inData.ItemList[0].Music.PlayURL.URI
|
|
@@ -131,6 +131,8 @@ func DeWater(in models.DyJieXiInput) (error, models.DyJieXiOutput) {
|
|
|
fmt.Println(videoStr[comma+1 : pos+comma+1])
|
|
|
|
|
|
|
|
|
+ out.Data.VideoUrl = strings.Replace(videoStr[comma+1:pos+comma+1], "http", "https", 1)
|
|
|
+ out.Data.VideoUrl = out.Data.VideoUrl + ".mp4"
|
|
|
|
|
|
return nil, out
|
|
|
|