oliverjrose99 / Recordurbate

A Bot to automatically record Chaturbate live streams.
GNU General Public License v3.0
236 stars 76 forks source link

Record only the Text Chat? #27

Open Powerbock opened 4 years ago

Powerbock commented 4 years ago

I am looking for a technical possibility to automatically save the pure chat history, not only the video as a file, but also the messages of the chat into a text file e.g. . Would this also be possible?

oliverjrose99 commented 4 years ago

It looks like chaturbate uses websockets for chatrooms, which could then be saved to a file. ill add it to the list but if you/someone wants to sumbit a PR that would be great as well.

Powerbock commented 4 years ago

"someone wants to sumbit a PR that would be great as well."

I'm sorry, but what does that mean?

oliverjrose99 commented 4 years ago

If someone else wants to write the code and then submit a request to have it mergerd into the program.

RoyalFlyBy commented 4 years ago

Is there a substantial amount of people that want this type of feature because I can add this rather easily as I already reverse engineered the chat for an unofficial chatbot.

If implemented how would you want the data to be represented, a list of messages like:

[time] user: message
[time] user: message

or in JSON:

[
    {
        time: TIME,
        user: USER,
        msg: MESSAGE
    }, 
    {
        time: TIME,
        user: USER,
        msg: MESSAGE
    }
]

Or differently, in which case I would need an example.

0x000NULL commented 4 years ago

@RoyalFlyBy You should do the the first one or, if possible, both? Maybe an option in the config file.

t3rminalx commented 4 years ago

What about writing the chat to an srt file then it could be displayed along with the video as subtitles?

It sounds like a good feature to add :-)