Comments (13)
Hey @tessus, unfortunately currently there's no way currently to dump a specific thread without dumping the whole conversation/channel. Threads support was added recently and there's certainly may ways of improvement. That's a good suggestion, thank you, i'll look into that.
from slackdump.
I am sorry. I had so many meetings the last 2 weeks that my head was exploding half way through the day. I totally forgot to test and send you feedback. Next week should be a bit better and I will hopefully get to it.
But rest assured I will test this and use it. I really need this feature. ;-)
from slackdump.
No problem, hope it works for you!
from slackdump.
slackdump -c
works for me. It outputs a table like this:
2022/01/20 10:12:32 initializing...
2022/01/20 10:12:32 > caching users...
2022/01/20 10:12:32 > caching channels, might take a while...
2022/01/20 10:12:32 retrieving data...
2022/01/20 10:12:32 done
ID Arch Saved What
C0ABCDE1 arch saved #random
C0ABCDE2 - saved #general
C0ABCDE3 - saved #movies
C0ABCDE4 - saved #books
from slackdump.
Hmm, I thought I was clear in my desciption. Take a random channel and start a thread in that channel. Now I want to export this single thread. (The message and all replies to that message (reply in thread)). I do not need the 500,000 other messages in that channel. I only need this single thread.
from slackdump.
Oh sorry, you're talking about actual "threads" in Slack. I.e. conversation replies. This command line tool doesn't expose that functionality directly, but it probably wouldn't be too hard to directly expose the dumpThread
function. The underlying Slack API method this uses is here: https://api.slack.com/methods/conversations.replies
from slackdump.
Cool, thanks. I will have a look at it when I have a bit more time. If there is an API call available, it shouldn't be too hard to add this to the script (oops, I meant Go app).
from slackdump.
There's a draft implementation in a url-dl
branch, if you want to try it out. I'm just finishing some tests and planning to do some docs as well, when the constellations are properly aligned.
You can check it out with
git pull && git checkout url-dl
compile:
go build ./cmd/slackdump
Or, alternatively use these binaries:
slackdump-linux.zip
slackdump-windows.zip
slackdump-darwin.zip
And then, you'd need to specify the -url
command line flag like so:
./slackdump -f -r text -url <URL1> [URL2] ... [URLn]
Alternatively, you could chuck all the URLs you want to fetch to the text file, and run it like so
./slackdump -i all_those_lengthy_urls.txt -f -r text
The URLs can be either of channels or a thread.
Would be great to have some feedback on this before I merge :) If not - that's also fine, i'll just merge as is, after I finish tests.
from slackdump.
Awesome, I will test it in a couple of days.
from slackdump.
@tessus merged, please use v1.3.0, the readme was updated too!
from slackdump.
Yes, it works! Nice.
I have noticed one small issue though. It might not have anything to do with this change though: certain characters are html encoded.
Architecture: `Project` -> `project specific OTel Collector (Gateway)` -> `centralized OTel Collector Gateway` -> `Backend`
turns to
Architecture: `Project` -> `project specific OTel Collector (Gateway)` -> `centralized OTel Collector Gateway` -> `Backend`
from slackdump.
@tessus thank you! Good catch with escaped characters - fixed it, will be available in 1.3.1, almost done with it, will update the releases in couple of days, just need to do some final testing.
from slackdump.
Great, thank you!
from slackdump.
Related Issues (20)
- Selective attachments download (i.e. only private/only public) HOT 1
- Callback error when exporting conversation HOT 11
- Add an homebrew installation method HOT 1
- Slack reports browser is not supported during login HOT 1
- Crashes on Linux and Windows HOT 2
- Incremental backup script is empty HOT 2
- failed to initialise the auth provider HOT 8
- Migrate off survey
- Leakless triggering false positive on Windows HOT 1
- Support Slack Email Challenge during EZ Login HOT 1
- Add support for exporting own messages only from timeframe HOT 6
- Chromium doesn't get launched on Guix HOT 10
- User export: Allow `-download` flag to also fetch avatars HOT 1
- Error when dumping channel with files, when there are files that was deleted. HOT 2
- Support for Enterprise slack instances? HOT 11
- v3: race condition (v2 unaffected) HOT 1
- Application error while dumping a slack channel HOT 6
- slackdump exports aren't viewable using slack-export-viewer HOT 7
- Export only users participating or part of exported channels or conversations HOT 7
- Custom cache directory is ignored (v3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slackdump.