twspace-dl
twspace-dl copied to clipboard
Download chat/transcription
I'm kinda busy atm so I don't think I'll have time to work on this for a while
uses websocket with this endpoint wss://prod-chatman-ancillary-ap-northeast-1.pscp.tv/chatapi/v1/chatnow example of payload:
{
"room": "1MnGnkoQROMJO",
"body": {
"body": "bank",
"displayName": "Cleeve Clayer💎",
"final": false,
"ntpForBroadcasterFrame": 16525717854109876000,
"ntpForLiveFrame": 16525717854109876000,
"participant_index": 331604841,
"programDateTime": "2021-12-05T11:45:24.814Z",
"remoteID": "1drjeApYGlyjb",
"timestamp": 1638704725994,
"twitter_id": "1136997146723356673",
"type": 45,
"user_id": "1drjeApYGlyjb",
"username": "KleibzR",
"uuid": "6bbae592-a377-4934-a45f-4bde073402e2",
"v": 2
},
"lang": "",
"sender": {
"user_id": "1drjeApYGlyjb",
"username": "KleibzR",
"display_name": "Cleeve Clayer💎",
"profile_image_url": "https://pbs.twimg.com/profile_images/1455021125562683392/GvCEqAf7_reasonably_small.jpg",
"participant_index": 331604841,
"twitter_id": "1136997146723356673"
},
"timestamp": 1638704726014406000,
"uuid": "6bbae592-a377-4934-a45f-4bde073402e2"
}
Prob easier and more stable if using chat history api
More detail here: SpaceCaptionsDownloader
WebSocket sometime disconnect without reason (I tried)
Oh thanks, I might actually work on it if I don't have to learn how to use websockets XD
cf https://github.com/HoloArchivists/tslazer
hi @Ryu1845 ! any progress on this issue / would you like help on it?
not having a chat download feature is a blocker for us -- happy to help in some way :)
Yes, I would definitely like some help on this feature. Although I have to admit I don't have much interest in this project anymore. This repository supports most of the features of twspace-dl albeit being in Javascript rather than python.