grundleborg / slack-advanced-exporter

A tool for exporting additional data from Slack that is missing from the official data export.
MIT License
95 stars 18 forks source link

Fetch profile pictures #37

Open wetneb opened 3 hours ago

wetneb commented 3 hours ago

This downloads profile pictures from Slack to add them in the zip archive. It downloads the original version of the image in a separate profile_pictures/ directory and adds an image_path field to the JSON structure in users.json to make it easier to link users and pictures afterwards (image_path is a local path from the root of the zip archive).

It ignores profile pictures taken from Gravatar, only downloading the ones that have been uploaded to Slack by users.

This depends on #36 (so the same commit is included here too).