Discord image links now have tracking
jherazob opened this issue · comments
Discord full image links used to be of the pattern https://cdn.discordapp.com/attachments/NNNNNNNNNNNNN/NNNNNNNNNNNN/filename.jpg, but now they tack in tracking, in the form of multiple parameters after the filename. Would be desirable to clean these up.
Discord full image links used to be of the pattern https://cdn.discordapp.com/attachments/NNNNNNNNNNNNN/NNNNNNNNNNNN/filename.jpg, but now they tack in tracking, in the form of multiple parameters after the filename. Would be desirable to clean these up.
Seconded. It's quite annoying.
Seems like this is a result of Discord switching from permanent links to expiring links, and the parameter keys will soon be required to access the attachments in the links. So removing all parameters will soon result in the links being essentially unusable.
To improve security of Discord's CDN, attachment CDN URLs have 3 new URL parameters: ex, is, and hm. Once authentication enforcement begins later this year, links with a given signature (hm) will remain valid until the expiration timestamp (ex)," the Discord development team explained in a post shared on the Discord Developers server.
You can still proxy Discord CDN links, take a look https://github.com/useapi/discord-cdn-proxy
You can still proxy Discord CDN links, take a look https://github.com/useapi/discord-cdn-proxy
This involves deploying a proxy, which might be out of the scope for this project.