Have yt-dlp determine what download is best for insta
This commit is contained in:
parent
ef82200046
commit
f5afb11f90
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ func messageCreate(session *discordgo.Session, message *discordgo.MessageCreate)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
session.ChannelTyping(message.ChannelID)
|
session.ChannelTyping(message.ChannelID)
|
||||||
downloadResult, err := result.Download(context.Background(), result.Formats()[0].FormatID) // Insta only has one possible format to download :(
|
downloadResult, err := result.Download(context.Background(), "best") // Insta only has one possible format to download :(
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue