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

Some Youtube comments are not captured #407

Open
diegoveloper opened this issue Feb 17, 2025 · 7 comments
Open

Some Youtube comments are not captured #407

diegoveloper opened this issue Feb 17, 2025 · 7 comments

Comments

@diegoveloper
Copy link
Contributor

Hello, I'm using the version 3.9.9 and I noticed some Youtube messages are not captured in the dock, therefore some messages with donation are not displayed (in the featured message).

I have two chats enabled, youtube and twitch.

I'm attaching two screenshots:

On the left side, you can see that some messages from the right chat are not appearing. One of them was a donation of "COP 11,900.00," but her next message did appear (💔).

Image

In this screenshot, you can see that some messages from the right side (YouTube panel) are not appearing on the left side (chat dock).

Image

Is there any special filter or config for this?

Image

@steveseguin
Copy link
Owner

Would you happen to have a timestamp of that donation event and link to that video? If so i can playback the chat maybe and see what the problem is.

Thank you for reporting the issue.

@diegoveloper
Copy link
Contributor Author

diegoveloper commented Feb 17, 2025

Unfortunately I don’t have access to the livechat anymore, I edited the video in youtube editor and the live chat check is disabled, is there any other way that I can do to help you find the issue?

EDIT: I had the live chat open so I could capture those donations html code here:

Donation from 1st screenshot (which didn't appear on the dock)

<div id="card" class="style-scope yt-live-chat-paid-message-renderer">
  <div id="header" class="style-scope yt-live-chat-paid-message-renderer">
    
      <yt-img-shadow id="author-photo" class="style-scope yt-live-chat-paid-message-renderer no-transition" loaded="" style="background-color: transparent;"><!--css-build:shady--><!--css-build:shady--><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" width="32" height="32" src="https://yt4.ggpht.com/ytc/AIdro_lC__0xKf3H0x4uHxp8m2CldhHTDbU6UHqEZ74MiOsJ-fo=s32-c-k-c0x00ffffff-no-rj"></yt-img-shadow>
    <dom-if restamp="" class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    <dom-if class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    <dom-if restamp="" class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    <div id="header-content" class="style-scope yt-live-chat-paid-message-renderer">
      <div id="header-content-primary-column" class="style-scope yt-live-chat-paid-message-renderer">
        <div id="single-line" class="style-scope yt-live-chat-paid-message-renderer">
          <div id="author-name-chip" class="style-scope yt-live-chat-paid-message-renderer">
            <yt-live-chat-author-chip disable-highlighting="" single-line="" class="style-scope yt-live-chat-paid-message-renderer"><!--css-build:shady--><!--css-build:shady--><span id="prepend-chat-badges" class="style-scope yt-live-chat-author-chip"></span><span id="author-name" dir="auto" class="moderator single-line style-scope yt-live-chat-author-chip style-scope yt-live-chat-author-chip">Ana Maria<span id="chip-badges" class="style-scope yt-live-chat-author-chip"></span></span><span id="chat-badges" class="style-scope yt-live-chat-author-chip"><yt-live-chat-author-badge-renderer class="style-scope yt-live-chat-author-chip" aria-label="Moderator" type="moderator" shared-tooltip-text="Moderator"><!--css-build:shady--><!--css-build:shady--><div id="image" class="style-scope yt-live-chat-author-badge-renderer"><yt-icon class="style-scope yt-live-chat-author-badge-renderer"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%; fill: rgb(94, 132, 241);"><path d="M9.64589146,7.05569719 C9.83346524,6.562372 9.93617022,6.02722257 9.93617022,5.46808511 C9.93617022,3.00042984 7.93574038,1 5.46808511,1 C4.90894765,1 4.37379823,1.10270499 3.88047304,1.29027875 L6.95744681,4.36725249 L4.36725255,6.95744681 L1.29027875,3.88047305 C1.10270498,4.37379824 1,4.90894766 1,5.46808511 C1,7.93574038 3.00042984,9.93617022 5.46808511,9.93617022 C6.02722256,9.93617022 6.56237198,9.83346524 7.05569716,9.64589147 L12.4098057,15 L15,12.4098057 L9.64589146,7.05569719 Z"></path></svg></div></span></yt-icon></div></yt-live-chat-author-badge-renderer><yt-live-chat-author-badge-renderer class="style-scope yt-live-chat-author-chip" aria-label="Member (1 year)" type="member" shared-tooltip-text="Member (1 year)"><!--css-build:shady--><!--css-build:shady--><div id="image" class="style-scope yt-live-chat-author-badge-renderer"><img src="https://yt3.ggpht.com/gZezbvkiOBehSkFzHIBtKPxS4sSM6Kh4c5KiT55jxzHgl5OVuvF9z4Dasvd6iJ8V8wrjgrqz=s16-c-k" class="style-scope yt-live-chat-author-badge-renderer" alt="Member (1 year)"></div></yt-live-chat-author-badge-renderer></span></yt-live-chat-author-chip>
          </div>
          <div id="purchase-amount-column" class="style-scope yt-live-chat-paid-message-renderer">
            <yt-img-shadow id="currency-img" height="16" width="16" class="style-scope yt-live-chat-paid-message-renderer no-transition" hidden=""><!--css-build:shady--><!--css-build:shady--><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" height="16" width="16"></yt-img-shadow>
            <div id="purchase-amount" class="style-scope yt-live-chat-paid-message-renderer">
              <yt-formatted-string class="style-scope yt-live-chat-paid-message-renderer">COP&nbsp;11,900.00</yt-formatted-string>
            </div>
          </div>
        </div>
      </div>
      <span id="timestamp" class="style-scope yt-live-chat-paid-message-renderer">11:17 PM</span>
      <div id="gradient-container" class="style-scope yt-live-chat-paid-message-renderer">
        <div id="gradient" class="style-scope yt-live-chat-paid-message-renderer"></div>
      </div>
      <div id="menu" class="style-scope yt-live-chat-paid-message-renderer">
        <yt-icon-button id="menu-button" class="style-scope yt-live-chat-paid-message-renderer" role="button"><!--css-build:shady--><!--css-build:shady--><button id="button" class="style-scope yt-icon-button" aria-label="Chat actions">
          <yt-icon icon="more_vert" class="style-scope yt-live-chat-paid-message-renderer"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12 16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM10.5 12c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm0-6c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5z"></path></svg></div></span></yt-icon>
        </button><yt-interaction id="interaction" class="circular style-scope yt-icon-button"><!--css-build:shady--><!--css-build:shady--><div class="stroke style-scope yt-interaction"></div><div class="fill style-scope yt-interaction"></div></yt-interaction></yt-icon-button>
      </div>
      <div id="creator-heart-button" class="style-scope yt-live-chat-paid-message-renderer"><yt-live-chat-creator-heart-view-model class="style-scope yt-live-chat-paid-message-renderer" enable-refresh-web=""><!--css-build:shady--><!--css-build:shady--><yt-icon-button id="creator-heart-button" class="style-scope yt-live-chat-creator-heart-view-model" role="button" title="Send a ♡"><!--css-build:shady--><!--css-build:shady--><button id="button" class="style-scope yt-icon-button" aria-label="Heart">
  
    <yt-image id="unhearted" height="24" class="style-scope yt-live-chat-creator-heart-view-model"><yt-icon style="" role="img" aria-hidden="true" aria-label=""><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M16.5 3C19.02 3 21 5.19 21 7.99c0 3.7-3.28 6.94-8.25 11.86l-.75.74-.74-.73-.04-.04C6.27 14.92 3 11.69 3 7.99 3 5.19 4.98 3 7.5 3c1.4 0 2.79.71 3.71 1.89L12 5.9l.79-1.01C13.71 3.71 15.1 3 16.5 3Zm0-1c-1.74 0-3.41.88-4.5 2.28C10.91 2.88 9.24 2 7.5 2 4.42 2 2 4.64 2 7.99c0 4.12 3.4 7.48 8.55 12.58L12 22l1.45-1.44C18.6 15.47 22 12.11 22 7.99 22 4.64 19.58 2 16.5 2Z"></path></svg></div></span></yt-icon></yt-image>
  <dom-if class="style-scope yt-live-chat-creator-heart-view-model"><template is="dom-if"></template></dom-if>
  <dom-if class="style-scope yt-live-chat-creator-heart-view-model"><template is="dom-if"></template></dom-if>
</button><yt-interaction id="interaction" class="circular style-scope yt-icon-button"><!--css-build:shady--><!--css-build:shady--><div class="stroke style-scope yt-interaction"></div><div class="fill style-scope yt-interaction"></div></yt-interaction></yt-icon-button>
</yt-live-chat-creator-heart-view-model></div>
    </div>
  </div>
  <div id="content" class="style-scope yt-live-chat-paid-message-renderer">
    <div id="message" dir="auto" class="style-scope yt-live-chat-paid-message-renderer">Se escapó el chango, dónde lo tenian?</div>
    <div id="input-container" class="style-scope yt-live-chat-paid-message-renderer">
      <dom-if class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    </div>
    <yt-formatted-string id="deleted-state" class="style-scope yt-live-chat-paid-message-renderer" is-empty="function(){var e=Ra.apply(0,arguments);a.loggingStatus.currentExternalCall=b;a.loggingStatus.bypassProxyController=!0;var g,k=((g=a.is)!=null?g:a.tagName).toLowerCase();zv(k,b,&quot;PROPERTY_ACCESS_CALL_EXTERNAL&quot;);var m;g=(m=c!=null?c:d[b])==null?void 0:m.call.apply(m,[d].concat(na(e)));a.loggingStatus.currentExternalCall=void 0;a.loggingStatus.bypassProxyController=!1;return g}"><!--css-build:shady--><!--css-build:shady--><yt-attributed-string class="style-scope yt-formatted-string"></yt-attributed-string></yt-formatted-string>
    <div id="footer" class="style-scope yt-live-chat-paid-message-renderer"></div>
    <div id="action-buttons" class="style-scope yt-live-chat-paid-message-renderer">
      <div id="like-button" class="action-button style-scope yt-live-chat-paid-message-renderer"><yt-live-chat-like-button-view-model class="style-scope yt-live-chat-paid-message-renderer"><!--css-build:shady--><!--css-build:shady--><yt-toggle-button-view-model class="yt-live-chat-like-button-view-model">
<toggle-button-view-model class="style-scope yt-live-chat-like-button-view-model"><button-view-model class="yt-spec-button-view-model style-scope yt-live-chat-like-button-view-model"><button class="yt-spec-button-shape-next yt-spec-button-shape-next--tonal yt-spec-button-shape-next--mono yt-spec-button-shape-next--size-xs yt-spec-button-shape-next--icon-leading" aria-disabled="false" aria-pressed="false" aria-label="Like" title="" style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0.05);"><div class="yt-spec-button-shape-next__icon" aria-hidden="true"><yt-icon style="width: 16px; height: 16px;"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12.42,14A1.54,1.54,0,0,0,14,12.87l1-4.24C15.12,7.76,15,7,14,7H10l1.48-3.54A1.17,1.17,0,0,0,10.24,2a1.49,1.49,0,0,0-1.08.46L5,7H1v7ZM9.89,3.14A.48.48,0,0,1,10.24,3a.29.29,0,0,1,.23.09S9,6.61,9,6.61L8.46,8H14c0,.08-1,4.65-1,4.65a.58.58,0,0,1-.58.35H6V7.39ZM2,8H5v5H2Z"></path></svg></div></span></yt-icon></div><div class="yt-spec-button-shape-next__button-text-content">Like</div><yt-touch-feedback-shape style="border-radius: inherit;"><div class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--touch-response" aria-hidden="true"><div class="yt-spec-touch-feedback-shape__stroke" style=""></div><div class="yt-spec-touch-feedback-shape__fill" style=""></div></div></yt-touch-feedback-shape></button></button-view-model></toggle-button-view-model></yt-toggle-button-view-model>
</yt-live-chat-like-button-view-model></div>
      <div id="reply-button" class="action-button style-scope yt-live-chat-paid-message-renderer"></div>
      <div id="buy-button" class="action-button style-scope yt-live-chat-paid-message-renderer"></div>
    </div>
  </div>
</div>

Donation from 2nd screenshot:

<div id="card" class="style-scope yt-live-chat-paid-message-renderer">
  <div id="header" class="style-scope yt-live-chat-paid-message-renderer">
    
      <yt-img-shadow id="author-photo" class="style-scope yt-live-chat-paid-message-renderer no-transition" loaded="" style="background-color: transparent;"><!--css-build:shady--><!--css-build:shady--><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" width="32" height="32" src="https://yt4.ggpht.com/ytc/AIdro_mxySzGp1D1TUzLPpwMktKAEzYiENIXbODRYGU2-cs=s32-c-k-c0x00ffffff-no-rj"></yt-img-shadow>
    <dom-if restamp="" class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    <dom-if class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    
      <yt-img-shadow id="overlay-image" class="style-scope yt-live-chat-paid-message-renderer no-transition" style="background-color: transparent;" loaded=""><!--css-build:shady--><!--css-build:shady--><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" width="130" src="https://www.gstatic.com/youtube/img/pdg/novelty/1st_purchase_celebration_novelty_animation/1st_Purchase_Celebration_Novelty_SC_IL_T2_v1.webp"></yt-img-shadow>
    <dom-if restamp="" class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    <div id="header-content" class="style-scope yt-live-chat-paid-message-renderer">
      <div id="header-content-primary-column" class="style-scope yt-live-chat-paid-message-renderer">
        <div id="single-line" class="style-scope yt-live-chat-paid-message-renderer">
          <div id="author-name-chip" class="style-scope yt-live-chat-paid-message-renderer">
            <yt-live-chat-author-chip disable-highlighting="" single-line="" class="style-scope yt-live-chat-paid-message-renderer"><!--css-build:shady--><!--css-build:shady--><span id="prepend-chat-badges" class="style-scope yt-live-chat-author-chip"></span><span id="author-name" dir="auto" class="single-line style-scope yt-live-chat-author-chip style-scope yt-live-chat-author-chip">Alexis Mora<span id="chip-badges" class="style-scope yt-live-chat-author-chip"></span></span><span id="chat-badges" class="style-scope yt-live-chat-author-chip"></span></yt-live-chat-author-chip>
          </div>
          <div id="purchase-amount-column" class="style-scope yt-live-chat-paid-message-renderer">
            <yt-img-shadow id="currency-img" height="16" width="16" class="style-scope yt-live-chat-paid-message-renderer no-transition" hidden=""><!--css-build:shady--><!--css-build:shady--><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" height="16" width="16"></yt-img-shadow>
            <div id="purchase-amount" class="style-scope yt-live-chat-paid-message-renderer">
              <yt-formatted-string class="style-scope yt-live-chat-paid-message-renderer">CA$2.00</yt-formatted-string>
            </div>
          </div>
        </div>
      </div>
      <span id="timestamp" class="style-scope yt-live-chat-paid-message-renderer">11:55 PM</span>
      <div id="gradient-container" class="style-scope yt-live-chat-paid-message-renderer">
        <div id="gradient" class="style-scope yt-live-chat-paid-message-renderer"></div>
      </div>
      <div id="menu" class="style-scope yt-live-chat-paid-message-renderer">
        <yt-icon-button id="menu-button" class="style-scope yt-live-chat-paid-message-renderer" role="button"><!--css-build:shady--><!--css-build:shady--><button id="button" class="style-scope yt-icon-button" aria-label="Chat actions">
          <yt-icon icon="more_vert" class="style-scope yt-live-chat-paid-message-renderer"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12 16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM10.5 12c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm0-6c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5z"></path></svg></div></span></yt-icon>
        </button><yt-interaction id="interaction" class="circular style-scope yt-icon-button"><!--css-build:shady--><!--css-build:shady--><div class="stroke style-scope yt-interaction"></div><div class="fill style-scope yt-interaction"></div></yt-interaction></yt-icon-button>
      </div>
      <div id="creator-heart-button" class="style-scope yt-live-chat-paid-message-renderer"><yt-live-chat-creator-heart-view-model class="style-scope yt-live-chat-paid-message-renderer" enable-refresh-web=""><!--css-build:shady--><!--css-build:shady--><yt-icon-button id="creator-heart-button" class="style-scope yt-live-chat-creator-heart-view-model" role="button" title="Send a ♡"><!--css-build:shady--><!--css-build:shady--><button id="button" class="style-scope yt-icon-button" aria-label="Heart">
  
    <yt-image id="unhearted" height="24" class="style-scope yt-live-chat-creator-heart-view-model"><yt-icon style="" role="img" aria-hidden="true" aria-label=""><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M16.5 3C19.02 3 21 5.19 21 7.99c0 3.7-3.28 6.94-8.25 11.86l-.75.74-.74-.73-.04-.04C6.27 14.92 3 11.69 3 7.99 3 5.19 4.98 3 7.5 3c1.4 0 2.79.71 3.71 1.89L12 5.9l.79-1.01C13.71 3.71 15.1 3 16.5 3Zm0-1c-1.74 0-3.41.88-4.5 2.28C10.91 2.88 9.24 2 7.5 2 4.42 2 2 4.64 2 7.99c0 4.12 3.4 7.48 8.55 12.58L12 22l1.45-1.44C18.6 15.47 22 12.11 22 7.99 22 4.64 19.58 2 16.5 2Z"></path></svg></div></span></yt-icon></yt-image>
  <dom-if class="style-scope yt-live-chat-creator-heart-view-model"><template is="dom-if"></template></dom-if>
  <dom-if class="style-scope yt-live-chat-creator-heart-view-model"><template is="dom-if"></template></dom-if>
</button><yt-interaction id="interaction" class="circular style-scope yt-icon-button"><!--css-build:shady--><!--css-build:shady--><div class="stroke style-scope yt-interaction"></div><div class="fill style-scope yt-interaction"></div></yt-interaction></yt-icon-button>
</yt-live-chat-creator-heart-view-model></div>
    </div>
  </div>
  <div id="content" class="style-scope yt-live-chat-paid-message-renderer">
    <div id="message" dir="auto" class="style-scope yt-live-chat-paid-message-renderer"></div>
    <div id="input-container" class="style-scope yt-live-chat-paid-message-renderer">
      <dom-if class="style-scope yt-live-chat-paid-message-renderer"><template is="dom-if"></template></dom-if>
    </div>
    <yt-formatted-string id="deleted-state" class="style-scope yt-live-chat-paid-message-renderer" is-empty="function(){var e=Ra.apply(0,arguments);a.loggingStatus.currentExternalCall=b;a.loggingStatus.bypassProxyController=!0;var g,k=((g=a.is)!=null?g:a.tagName).toLowerCase();zv(k,b,&quot;PROPERTY_ACCESS_CALL_EXTERNAL&quot;);var m;g=(m=c!=null?c:d[b])==null?void 0:m.call.apply(m,[d].concat(na(e)));a.loggingStatus.currentExternalCall=void 0;a.loggingStatus.bypassProxyController=!1;return g}"><!--css-build:shady--><!--css-build:shady--><yt-attributed-string class="style-scope yt-formatted-string"></yt-attributed-string></yt-formatted-string>
    <div id="footer" class="style-scope yt-live-chat-paid-message-renderer"></div>
    <div id="action-buttons" class="style-scope yt-live-chat-paid-message-renderer">
      <div id="like-button" class="action-button style-scope yt-live-chat-paid-message-renderer"><yt-live-chat-like-button-view-model class="style-scope yt-live-chat-paid-message-renderer"><!--css-build:shady--><!--css-build:shady--><yt-toggle-button-view-model class="yt-live-chat-like-button-view-model">
<toggle-button-view-model class="style-scope yt-live-chat-like-button-view-model"><button-view-model class="yt-spec-button-view-model style-scope yt-live-chat-like-button-view-model"><button class="yt-spec-button-shape-next yt-spec-button-shape-next--tonal yt-spec-button-shape-next--mono yt-spec-button-shape-next--size-xs yt-spec-button-shape-next--icon-leading" aria-disabled="false" aria-pressed="false" aria-label="Like" title="" style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0.05);"><div class="yt-spec-button-shape-next__icon" aria-hidden="true"><yt-icon style="width: 16px; height: 16px;"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12.42,14A1.54,1.54,0,0,0,14,12.87l1-4.24C15.12,7.76,15,7,14,7H10l1.48-3.54A1.17,1.17,0,0,0,10.24,2a1.49,1.49,0,0,0-1.08.46L5,7H1v7ZM9.89,3.14A.48.48,0,0,1,10.24,3a.29.29,0,0,1,.23.09S9,6.61,9,6.61L8.46,8H14c0,.08-1,4.65-1,4.65a.58.58,0,0,1-.58.35H6V7.39ZM2,8H5v5H2Z"></path></svg></div></span></yt-icon></div><div class="yt-spec-button-shape-next__button-text-content">Like</div><yt-touch-feedback-shape style="border-radius: inherit;"><div class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--touch-response" aria-hidden="true"><div class="yt-spec-touch-feedback-shape__stroke" style=""></div><div class="yt-spec-touch-feedback-shape__fill" style=""></div></div></yt-touch-feedback-shape></button></button-view-model></toggle-button-view-model></yt-toggle-button-view-model>
</yt-live-chat-like-button-view-model></div>
      <div id="reply-button" class="action-button style-scope yt-live-chat-paid-message-renderer"></div>
      <div id="buy-button" class="action-button style-scope yt-live-chat-paid-message-renderer"></div>
    </div>
  </div>
</div>

I don't think the missing chats are related to the donation, as some other messages were lost too. Maybe it's an issue when many people send messages at the same time?

@steveseguin
Copy link
Owner

Thank you. Having the code has helped, although I'm not sure still.

It wouldn't have appeared if you were hiding moderators I guess, as that's the main key difference I see.. Otherwise, when I passed that HTML thru the process message function, it gave me a JSON object that seems to have enough information to work.

Image

I have gone thru the Youtube code and I found an edge case in my testing tonight were fundraiser-based donations were not being captured, but that's different from what you're doing. I made some other tweaks, so I'm hoping I fixed it, however I'm really not sure. I've pushed changes to the beta branch.

demo of it working with fundraisers now, just as an fyi

Image
Image

@diegoveloper
Copy link
Contributor Author

but on the second chat that I attached there were some messages there weren't displayed:

Image

As you can see on the right chat, the last donation appears on the left chat (dock), but then in the dock the message(youtube) before the donation is from "Black Crow" : "revisa el de biyei" , and on the right chat there two more messages before that.

@diegoveloper
Copy link
Contributor Author

diegoveloper commented Feb 18, 2025

is there anything I can do to help you with this? I'll do a new live streaming tomorrow, should I update to the latest version of this plugin? :D

Do you think this could be related to LIVE CHAT vs TOP CHAT? (I always try to use LIVE CHAT)

@steveseguin
Copy link
Owner

Apologies that this is taking me so long to address. It is on my radar and I'll take another stab at it when I wake up later today.

@diegoveloper
Copy link
Contributor Author

I could capture another comment that was not shown in the chat dock.

Image

	<yt-live-chat-text-message-renderer class="style-scope yt-live-chat-item-list-renderer" modern="" enable-refresh-web="" id="ChwKGkNOV2E0dlczOUlzREZTX0J3Z1FkY2o0dHhB" whole-message-clickable="{&quot;commandMetadata&quot;:{&quot;webCommandMetadata&quot;:{&quot;ignoreNavigation&quot;:true}},&quot;liveChatItemContextMenuEndpoint&quot;:{&quot;params&quot;:&quot;Q2g0S0hBb2FRMDVYWVRSMlZ6TTVTWE5FUmxOZlFuZG5VV1JqYWpSMGVFRWFLU29uQ2hoVlEwWkxXbmhUZEZselQxWnllbVJPWDBaRFdqQk9SMmNTQzJjdFVHeHRNV0pzVFdnNElBSW9BVElhQ2hoVlEzRlhOWFZZVjNveFRFdEVjMjVST1U5UmExQXdVMEU0QWtnQVVBRSUzRA==&quot;}}" has-inline-action-buttons="" author-type=""><!--css-build:shady--><!--css-build:shady--><yt-img-shadow id="author-photo" class="no-transition style-scope yt-live-chat-text-message-renderer" height="24" width="24" loaded="" style="background-color: transparent;"><!--css-build:shady--><!--css-build:shady--><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" height="24" width="24" src="https://yt4.ggpht.com/ytc/AIdro_nbpVYAazvdlWAlkB-H7s_KAJUWrIDzZk3-HXQmmpfD5Yc=s32-c-k-c0x00ffffff-no-rj"></yt-img-shadow><div id="content" class="style-scope yt-live-chat-text-message-renderer"><span id="timestamp" class="style-scope yt-live-chat-text-message-renderer">9:45 PM</span><yt-live-chat-author-chip class="style-scope yt-live-chat-text-message-renderer"><!--css-build:shady--><!--css-build:shady--><span id="prepend-chat-badges" class="style-scope yt-live-chat-author-chip"></span><span id="author-name" dir="auto" class=" style-scope yt-live-chat-author-chip style-scope yt-live-chat-author-chip">Binni Zenobio Cordova Leandro<span id="chip-badges" class="style-scope yt-live-chat-author-chip"></span></span><span id="chat-badges" class="style-scope yt-live-chat-author-chip"></span></yt-live-chat-author-chip>​<div id="before-content-buttons" class="style-scope yt-live-chat-text-message-renderer"></div>​<span id="message" dir="auto" class="style-scope yt-live-chat-text-message-renderer">Que experiencias tienes con ServersIdeRendering _</span><span id="deleted-state" class="style-scope yt-live-chat-text-message-renderer"></span><a id="show-original" href="#" class="style-scope yt-live-chat-text-message-renderer"></a></div><div id="menu" class="style-scope yt-live-chat-text-message-renderer"><yt-icon-button id="menu-button" class="style-scope yt-live-chat-text-message-renderer"><!--css-build:shady--><!--css-build:shady--><button id="button" class="style-scope yt-icon-button" aria-label="Chat actions"><yt-icon icon="more_vert" class="style-scope yt-live-chat-text-message-renderer"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12 16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM10.5 12c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm0-6c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5z"></path></svg></div></span></yt-icon></button><yt-interaction id="interaction" class="circular style-scope yt-icon-button"><!--css-build:shady--><!--css-build:shady--><div class="stroke style-scope yt-interaction"></div><div class="fill style-scope yt-interaction"></div></yt-interaction></yt-icon-button></div><div id="inline-action-button-container" class="style-scope yt-live-chat-text-message-renderer" aria-hidden="true"><div id="inline-action-buttons" class="style-scope yt-live-chat-text-message-renderer"><yt-button-renderer class="style-scope yt-live-chat-text-message-renderer" button-renderer="" button-next=""><!--css-build:shady--><yt-button-shape><button class="yt-spec-button-shape-next yt-spec-button-shape-next--filled yt-spec-button-shape-next--overlay yt-spec-button-shape-next--size-xs yt-spec-button-shape-next--icon-button" aria-disabled="false" aria-label="Remove" title="" style=""><div class="yt-spec-button-shape-next__icon" aria-hidden="true"><yt-icon style="width: 16px; height: 16px;"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M11 17H9V8h2v9zm4-9h-2v9h2V8zm4-4v1h-1v16H6V5H5V4h4V3h6v1h4zm-2 1H7v15h10V5z"></path></svg></div></span></yt-icon></div><yt-touch-feedback-shape style="border-radius: inherit;"><div class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--overlay-touch-response-inverse" aria-hidden="true"><div class="yt-spec-touch-feedback-shape__stroke" style=""></div><div class="yt-spec-touch-feedback-shape__fill" style=""></div></div></yt-touch-feedback-shape></button></yt-button-shape><tp-yt-paper-tooltip offset="8" role="tooltip" tabindex="-1" aria-label="tooltip"><!--css-build:shady--><!--css-build:shady--><div id="tooltip" class="hidden style-scope tp-yt-paper-tooltip" style-target="tooltip">
  Remove
</div>
</tp-yt-paper-tooltip></yt-button-renderer><yt-button-renderer class="style-scope yt-live-chat-text-message-renderer" button-renderer="" button-next=""><!--css-build:shady--><yt-button-shape><button class="yt-spec-button-shape-next yt-spec-button-shape-next--filled yt-spec-button-shape-next--overlay yt-spec-button-shape-next--size-xs yt-spec-button-shape-next--icon-button" aria-disabled="false" aria-label="Put user in timeout" title="" style=""><div class="yt-spec-button-shape-next__icon" aria-hidden="true"><yt-icon style="width: 16px; height: 16px;"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="m12 6-1.29 1.29L10 8l.71.71L12 10v4h1v1H3v-1h1v-4l1.29-1.29L6 8l-.71-.71L4 6V2H3V1h10v1h-1v4zM9.29 8.71l1.71 1.7V14H5v-3.59L6.71 8.7l.7-.7-.7-.71L5 5.59V2h6v3.59l-1.71 1.7-.7.71.7.71zM8 7l2-2H6l2 2zm2 5-2-2-2 2v1h4v-1z" fill-rule="evenodd"></path></svg></div></span></yt-icon></div><yt-touch-feedback-shape style="border-radius: inherit;"><div class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--overlay-touch-response-inverse" aria-hidden="true"><div class="yt-spec-touch-feedback-shape__stroke" style=""></div><div class="yt-spec-touch-feedback-shape__fill" style=""></div></div></yt-touch-feedback-shape></button></yt-button-shape><tp-yt-paper-tooltip offset="8" role="tooltip" tabindex="-1" aria-label="tooltip"><!--css-build:shady--><!--css-build:shady--><div id="tooltip" class="hidden style-scope tp-yt-paper-tooltip" style-target="tooltip">
  Put user in timeout
</div>
</tp-yt-paper-tooltip></yt-button-renderer><yt-button-renderer class="style-scope yt-live-chat-text-message-renderer" button-renderer="" button-next=""><!--css-build:shady--><yt-button-shape><button class="yt-spec-button-shape-next yt-spec-button-shape-next--filled yt-spec-button-shape-next--overlay yt-spec-button-shape-next--size-xs yt-spec-button-shape-next--icon-button" aria-disabled="false" aria-label="Hide user on this channel" title="" style=""><div class="yt-spec-button-shape-next__icon" aria-hidden="true"><yt-icon style="width: 16px; height: 16px;"><!--css-build:shady--><!--css-build:shady--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><g><path d="M12 3c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9m0-1c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zm7 11H5v-2h14v2z"></path></g></svg></div></span></yt-icon></div><yt-touch-feedback-shape style="border-radius: inherit;"><div class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--overlay-touch-response-inverse" aria-hidden="true"><div class="yt-spec-touch-feedback-shape__stroke" style=""></div><div class="yt-spec-touch-feedback-shape__fill" style=""></div></div></yt-touch-feedback-shape></button></yt-button-shape><tp-yt-paper-tooltip offset="8" role="tooltip" tabindex="-1" aria-label="tooltip"><!--css-build:shady--><!--css-build:shady--><div id="tooltip" class="hidden style-scope tp-yt-paper-tooltip" style-target="tooltip">
  Hide user on this channel
</div>
</tp-yt-paper-tooltip></yt-button-renderer></div></div></yt-live-chat-text-message-renderer>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants