Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaarey committed May 2, 2024
1 parent b64bccc commit a04ea01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit a04ea01

Please sign in to comment.