Seklfreak / discord-image-downloader-go

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

does not recognise .mov files #190

Open mikosalex opened 4 years ago

mikosalex commented 4 years ago

it seems like the code does not recognise .mov files as potential files to download. everytime a .mov file is sent into a listed channel, the console prompts "No image, video, or audio found at...."

rest works perfectly fine.

get-got commented 4 years ago

http.DetectContentType assumes .mov is an application rather than video, so the bot ignores it.

I made a fork of this project and it accounts for that, if that's something you're needing.