grundleborg / slack-advanced-exporter

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

Proposal: derive token from archive #17

Open DirkHoffmann opened 4 years ago

DirkHoffmann commented 4 years ago

The acces token (unless revoked) is present in each download link within the archive. Thus it would be a simplification of usage to derive it from the archives rather than asking the user for it explicitely.

The feature --api-token must remain though, for the cases where the original token of the archive has already been revoked.

feha commented 1 year ago

From my understanding, it would also be possible to use (until the token is revoked) the https url's in the url_private (etc.) fields directly, when fetching the resources. As the token is present in those links as well.

The fields url_private is much akin to the url_private_download field, pretty much identical apart from cutting out \/download from near start of the string.