This commit is contained in:
zhaarey 2024-05-02 20:16:12 +08:00
parent b64bccc400
commit a04ea0124b

View File

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