Giter Club home page Giter Club logo

Comments (7)

xenova avatar xenova commented on July 18, 2024

The current groups defined can be found here: https://github.com/xenova/chat-downloader/blob/master/chat_downloader/sites/youtube.py#L433-L479

As for logging everything, you should be able to do so if you set message types to "all"

from chat-downloader.

vampiricwulf avatar vampiricwulf commented on July 18, 2024

I used every message group minus "placeholder" and it didn't log when gifts were sent or received, is it not getting parsed?

Should I set message groups to ['all'] as well or just mark types as ['all']? Looking at this it seems to check both.
https://github.com/xenova/chat-downloader/blob/master/chat_downloader/sites/common.py#L404-L405

from chat-downloader.

xenova avatar xenova commented on July 18, 2024

Hmmm, gifts are a new thing, right? It might not be getting parsed. Can you send the video url?

from chat-downloader.

vampiricwulf avatar vampiricwulf commented on July 18, 2024

Yes, here's one I was able to find: https://youtu.be/TFHxcbaikpU?t=5615 (Video was privatized, see later message for another example).

from chat-downloader.

vampiricwulf avatar vampiricwulf commented on July 18, 2024

Another thing to note is that when telling it to capturing everything, superchat messages are captured twice in a row. I believe it's because superchat and ticker overlaps.

from chat-downloader.

vampiricwulf avatar vampiricwulf commented on July 18, 2024
2022-11-28 18:13:08 | 

2022-11-28 18:13:15 | recipient: was gifted a membership by gifter
...
2022-11-28 19:11:36 | 

2022-11-28 19:11:43 | recipient 2: was gifted a membership by gifter

So it does log gifting when using ['all'] in message groups, but it only catches the received message and the "Gifter has given out X memberships!" is an empty line.

You can test it on https://www.youtube.com/watch?v=cb0h-KbpDo8 and the gifting is at 5:22:20 with the receiving at 5:22:35.

from chat-downloader.

xenova avatar xenova commented on July 18, 2024

Thanks for the info! I'll try get this sorted as soon as possible.

Edit: Looks like youtube added a new type of message: 'liveChatSponsorshipsGiftPurchaseAnnouncementRenderer'. Will add it

from chat-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.