Commit graph

47 commits

Author SHA1 Message Date
2a8ea1b8f4
exporter-ng 2025-04-30 00:10:46 +02:00
6124b58289
Dockerfile basics 2025-04-28 14:26:55 +02:00
Piotr Dec
325f1c4ed1
MR 24 with fixes
see: https://github.com/sebseager/slack-exporter/pull/24
2025-04-28 14:23:51 +02:00
Seb Seager
ab73c63d7e
Merge pull request #22 from DavidFichtmueller/patch-1 2024-04-02 01:18:34 -04:00
Seb Seager
7092a874d4
Update README.md 2024-04-02 01:16:17 -04:00
Seb Seager
0df153289e
Merge pull request #23 from MBerka/main 2024-04-02 01:10:05 -04:00
Martin Berka
dcb99e35a1
update readme to reflect current Slack UI 2023-11-20 09:52:41 -08:00
David Fichtmueller
10ae14bb89
Switch date formats to ISO 8601
both for the export folder name and the time stamp of the messages in the channel/conversation file. 

Relevant XKCD: https://xkcd.com/1179/
2023-11-08 12:49:15 +01:00
Seb Seager
d98d00f36b
Merge pull request #19 from RelaxHack/master 2023-07-12 10:10:01 -05:00
Maxim Rudenko
06b0609bad fixed bug with UnicodeEncodeError when pull history in text format with output directory 2023-07-11 16:26:31 +03:00
Seb Seager
bba95cb5fe
Merge pull request #17 from msaffitz/master
Retry file downloads on exception up to 10 times, skip already downloaded files.
2023-06-02 15:15:17 -05:00
Mike Saffitz
ece6ee1ed0
Retry file downloads on exception up to 10 times, skip already downloaded files.
This addresses common "connection reset by peer" and other potential
connectivity issues on download.

Suggestions for future improvement include configurable numbers of attempts,
sleep intervals between attempts, and use a common file download directory
(e.g. instead of creating a new one for each export).  The latter would allow
more incremental behavior of file downloads.
2023-03-05 09:56:55 -08:00
Seb Seager
cad87c80e5
Merge pull request #16 from ddabble/bug/invalid-filename-error
Fix `OSError` on invalid filename
2023-01-24 19:25:35 -05:00
Anders
6c5f908c8a
Fixed OSError on invalid filename
Added `pathvalidate` as a requirement (https://pypi.org/project/pathvalidate/).
2023-01-05 23:53:54 +01:00
Seb Seager
fd92a9d998
Check a.o 2022-09-23 03:51:06 -04:00
Seb Seager
3604c514ea
Merge pull request #13 from silviot/master
Download files too
2022-09-23 03:45:06 -04:00
Silvio Tomatis
dfb7a254c0
Also download all files 2022-09-06 12:29:39 +02:00
Silvio Tomatis
1cff785a4f
Fix an unused import and a missing exception alias 2022-09-06 12:25:34 +02:00
Seb Seager
cc069d77f1
Merge pull request #12 from SanchosPoncho/SanchosPoncho-patch-1
Update exporter.py
2022-09-05 23:05:45 -04:00
Seb Seager
9d8b1ee8cd
Merge pull request #11 from iaguis/fix-save-channel-call
Fix missing parameter rename
2022-09-05 23:02:13 -04:00
SanchosPoncho
91abbdc764
Update exporter.py
fixed issues with name 'users' is not define
2022-07-29 09:27:43 -07:00
Iago Lopez Galeiras
5010913a40 Fix missing parameter rename
In 27d1053a27 the signature of
save_channel() was updated and the users variable was removed from the
main function but one save_channel() call was still using it.

Fix that by calling save_channel() with user_list in the missing
instance.
2022-07-13 10:07:09 +02:00
Seb Seager
81445a1911
Merge pull request #9 from jaygooby/master
Output valid JSON with the `--json` option
2022-03-15 11:40:56 -04:00
Jay Caines-Gooby
62deb71a8d
Output valid JSON with the --json option
Don't just print the data object, `json.dump` it
2022-03-09 17:59:46 +00:00
Seb Seager
27d1053a27 Updated save_channel signature 2022-02-15 20:55:30 -05:00
Seb Seager
bbb34418fc Pass channel_list to save_replies 2022-02-15 20:44:21 -05:00
Seb Seager
b26f4d454a Changed sleep mechanics and lang from PR 2022-01-28 11:09:49 -05:00
Seb Seager
ac964e2d3e
Merge pull request #6 from hnykda/master
Handle throttling
2022-01-28 11:06:28 -05:00
Daniel Hnyk
594cf0f362 blacking 2022-01-20 09:12:26 +01:00
Daniel Hnyk
6c15fa1294 add throthling handling 2022-01-20 09:10:50 +01:00
Seb Seager
ebbe56ea75 Minor CLI modifications 2022-01-07 16:16:15 -06:00
Seb Seager
5f7e637083 Strike global channel id var 2022-01-07 15:03:35 -06:00
Seb Seager
029d3bd4aa Need to look in user["profile"] for real_name
(thanks, @kvdb)
2022-01-07 14:57:40 -06:00
Seb Seager
9dde67c8c0 Formatting + made oldest/latest param safer 2022-01-07 14:36:32 -06:00
Seb Seager
e483f1165c
Merge pull request #4 from mcdamo/feature/restrict-channel-and-timestamps
Add arguments to restrict to channel and between timestamps
2022-01-07 14:29:32 -06:00
mcdamo
eaf59320e9 Add arguments to restrict to Channel and between timestamps
- Add Optional CHANNEL_ID env
2021-11-30 17:58:51 +11:00
Seb Seager
a67bed98b1 bot.py now uses exporter.py functions
(Flask may break here)
2021-11-18 15:50:46 -05:00
Seb Seager
36e9911dfc Adopted new slack api auth 2021-11-18 15:49:15 -05:00
Seb Seager
4b7fea7ec1 Fixed formatting 2021-11-18 13:51:48 -05:00
Seb Seager
d7f5fa5db1
Add license to README 2021-01-06 12:01:39 -06:00
Seb Seager
8366bb2fc0
Create LICENSE 2021-01-06 11:53:53 -06:00
Seb Seager
b40556cec2 .env optional for standalone exporter 2021-01-05 18:07:45 -06:00
Seb Seager
a6ea7be6df Use short year for output directory 2021-01-05 14:09:29 -06:00
Seb Seager
de688a3cce Fix for tombstone or hidden_by_limit files 2021-01-05 14:01:24 -06:00
Seb Seager
fa955d37df Fix for users that don't have a real_name or tz 2021-01-05 13:41:21 -06:00
Seb Seager
8c4550f307 Added exporter.py and documentation 2020-12-29 16:37:57 -06:00
Seb Seager
23385c2f01 Initial commit 2020-12-21 13:48:55 -06:00