Seklfreak / discord-image-downloader-go

A simple tool which downloads pictures posted in discord channels of your choice to a local folder.
MIT License
349 stars 90 forks source link

xurls and more.. #160

Open zergabg opened 4 years ago

zergabg commented 4 years ago

When I download the zip the first thing that appears after trying to build it is:

.\extract.go:219:28: xurls.Strict.FindAllString undefined (type func() *regexp.Regexp has no field or method FindAllString)
.\extract.go:234:29: xurls.Strict.FindAllString undefined (type func() *regexp.Regexp has no field or method FindAllString)
.\handler.go:215:33: xurls.Strict.FindAllString undefined (type func() *regexp.Regexp has no field or method FindAllString)
.\handler.go:287:28: xurls.Strict.FindAllString undefined (type func() *regexp.Regexp has no field or method FindAllString)
.\main.go:494:27: assignment mismatch: 2 variables but jsonParsed.Path("entry_data.PostPage").Children returns 1 values
.\main.go:909:27: assignment mismatch: 2 variables but jsonParsed.Path("entry_data.PostPage").Children returns 1 values

After some modifications,

I managed to build it but it works only in small servers, it completely refuses to download images from big discord servers. I´m not getting any error or what so ever.