New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to export a specific thread? #11
Comments
|
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. |
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 |
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). |
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. |
There's a draft implementation in a You can check it out with
compile:
Or, alternatively use these binaries: And then, you'd need to specify the
Alternatively, you could chuck all the URLs you want to fetch to the text file, and run it like so
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. |
Awesome, I will test it in a couple of days. |
@tessus merged, please use v1.3.0, the readme was updated too! |
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. ;-) |
No problem, hope it works for you! |
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.
turns to
|
@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. |
Great, thank you! |
I came across this great tool, but I am a bit puzzled as to how to export/dump a specific thread.
Channels can be extremly large and I am intersted in a specific thread. How can I export that thread alone?
In an org with 2000 channels
slackdump -c
would not give me a specific thread id, or at least I probably won't find it in there.When I copy a link to a thread in Slack, I get 2 ids in the link. Can I use that info to dump a specific thread? If yes, how?
The text was updated successfully, but these errors were encountered: