diff --git a/main.go b/main.go index eab1d44..dbcacdb 100644 --- a/main.go +++ b/main.go @@ -369,7 +369,7 @@ func getTwitterParamsUrls(url string) (map[string]string, error) { matches := RegexpUrlTwitterParams.FindStringSubmatch(url) return map[string]string{ - "https://pbs.twimg.com/media/" + matches[3] + "." + matches[4] + ":orig": "", + "https://pbs.twimg.com/media/" + matches[3] + "." + matches[4] + ":orig": matches[3] + "." + matches[4], }, nil } diff --git a/vars.go b/vars.go index 576223c..a22ca5d 100644 --- a/vars.go +++ b/vars.go @@ -1,7 +1,7 @@ package main const ( - VERSION = "1.36" + VERSION = "1.36.1" DATABASE_DIR = "database" RELEASE_URL = "https://github.com/Seklfreak/discord-image-downloader-go/releases/latest" RELEASE_API_URL = "https://api.github.com/repos/Seklfreak/discord-image-downloader-go/releases/latest"