pull/18/head
zhaarey 5 months ago
parent b64bccc400
commit a04ea0124b
  1. 2
      main.go

@ -1202,10 +1202,12 @@ func rip(albumId string, token string, storefront string, userToken string) erro
if err != nil { if err != nil {
fmt.Println(err) fmt.Println(err)
} }
if string(Checkbody) != "no_found"{
manifest.Attributes.ExtendedAssetUrls.EnhancedHls=string(Checkbody) manifest.Attributes.ExtendedAssetUrls.EnhancedHls=string(Checkbody)
fmt.Println("Found m3u8 from API") fmt.Println("Found m3u8 from API")
} }
} }
}
if txtpath != "" { if txtpath != "" {
file, err := os.Open(txtpath) file, err := os.Open(txtpath)
if err != nil { if err != nil {

Loading…
Cancel
Save