Skip to content
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

Download chat/transcription #3

Open
Ryu1845 opened this issue Oct 24, 2021 · 7 comments
Open

Download chat/transcription #3

Ryu1845 opened this issue Oct 24, 2021 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Ryu1845
Copy link
Collaborator

Ryu1845 commented Oct 24, 2021

No description provided.

@Ryu1845 Ryu1845 added the enhancement New feature or request label Oct 24, 2021
@Ryu1845 Ryu1845 self-assigned this Oct 24, 2021
@Ryu1845 Ryu1845 added the help wanted Extra attention is needed label Dec 2, 2021
@Ryu1845
Copy link
Collaborator Author

Ryu1845 commented Dec 2, 2021

I'm kinda busy atm so I don't think I'll have time to work on this for a while

@Ryu1845 Ryu1845 removed their assignment Dec 5, 2021
@Ryu1845
Copy link
Collaborator Author

Ryu1845 commented Dec 5, 2021

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"
}

@HitomaruKonpaku
Copy link

HitomaruKonpaku commented Dec 13, 2021

Prob easier and more stable if using chat history api

More detail here: SpaceCaptionsDownloader

WebSocket sometime disconnect without reason (I tried)

@Ryu1845
Copy link
Collaborator Author

Ryu1845 commented Dec 13, 2021

Oh thanks, I might actually work on it if I don't have to learn how to use websockets XD

@Ryu1845
Copy link
Collaborator Author

Ryu1845 commented Aug 19, 2022

@gatesyp
Copy link

gatesyp commented Dec 6, 2022

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 :)

@Ryu1845
Copy link
Collaborator Author

Ryu1845 commented Dec 6, 2022

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.

@erfan-rfmhr erfan-rfmhr moved this to To do in Progress Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

3 participants