Skip to content

Update close_caption_extraction to adapt to updated UI #19

@CakeCrusher

Description

@CakeCrusher

Here is the new HTML element containing closed captions.

<div class="fJsklc nulMpf Didmac G03iKb" jscontroller="hVZhab" jsaction="v2nhid:pugIyf;Lda5Lb:MvoZH;Oa9Wfe: MvoZH" data-priority="999" data-side="3" style="bottom: 80px; right: 0px; left: 0px;"><div jscontroller="D1tHje" class="a4cQT kV7vwc P9KVBf eO2Zfd" jsaction="Bx1kKc:lUFH9b;TpIHXe:lUFH9b;QBUr8:lUFH9b;stc2ve:lUFH9b" style=""><div class="NmXUuc  P9KVBf IGXezb" jscontroller="rRafu" jsaction="F41Sec:tsH52e;OmFrlf:xfAI6e(zHUIdd)"></div><div class="DtJ7e"><span class="frX3lc-vlkzWd  P9KVBf"></span><div jsname="dsyhDe" class="iOzk7"><div tabindex="0" role="region" aria-label="Captions" class="ZPyPXe" jscontroller="KPn5nb" jsaction="bz0DVc:NkE7Cc;QBUr8:QQaxdb;stc2ve:QQaxdb;JIbuQc:N57abc(Xke7ne)"><div class="nMcdL bj4p3b"><div class="adE6rb"><img class="Z6byG r6DyN" alt="" src="https://lh3.googleusercontent.com/a/ACg8ocJ4Q3FOARq18YrTk2c_lRSW5MMrfRuWS1xlLkv2o6XXsE6O6xo=s192-c-mo" data-iml="48605.09999999404"><div class="KcIKyf jxFHg"><span class="NWpY1d">You</span></div></div><div class="bh44bd VbkSUe">Testing One, Two, This is the first speaker. </div></div><div class="nMcdL bj4p3b"><div class="adE6rb"><img class="Z6byG r6DyN" alt="" src="https://lh3.googleusercontent.com/a/ACg8ocJ4Q3FOARq18YrTk2c_lRSW5MMrfRuWS1xlLkv2o6XXsE6O6xo=s192-c-mo" data-iml="57910"><div class="KcIKyf jxFHg"><span class="NWpY1d">Sebastian Sosa</span></div></div><div class="bh44bd VbkSUe">Testing Three Four. This is the second speaker. </div></div><div class="nMcdL bj4p3b"><div class="adE6rb"><img class="Z6byG r6DyN" alt="" src="https://lh3.googleusercontent.com/a/ACg8ocJ4Q3FOARq18YrTk2c_lRSW5MMrfRuWS1xlLkv2o6XXsE6O6xo=s192-c-mo" data-iml="193148.29999998212"><div class="KcIKyf jxFHg"><span class="NWpY1d">You</span></div></div><div class="bh44bd VbkSUe">now, returning to the first speaker, </div></div><div class="VoGqsc"><div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb" data-is-touch-wrapper="true"><button class="UywwFc-LgbsSe UywwFc-LgbsSe-OWXEXe-Bz112c-M1Soyc UywwFc-LgbsSe-OWXEXe-dgl2Hf UywwFc-StrnGf-YYd4I-VtOx3e" jscontroller="O626Fe" jsaction="click:h5M12e; clickmod:h5M12e;pointerdown:FEiYhc;pointerup:mF5Elf;pointerenter:EX0mI;pointerleave:vpvbp;pointercancel:xyn4sd;contextmenu:xexox; focus:h06R8; blur:zjh6rb;mlnRJb:fLiPzd" jsname="Xke7ne" aria-label="Jump to most recent captions"><span class="OiePBf-zPjgPe"></span><span class="SXdXAb-BFbNVe"><span class="SXdXAb-ugnUJb"></span></span><span class="RBHQF-ksKsZd" jscontroller="LBaJxb" jsname="m9ZlFb"></span><span class="UywwFc-RLmnJb"></span><span jsname="Xr1QTb" class="UywwFc-kBDsod-Rtc0Jf UywwFc-kBDsod-Rtc0Jf-OWXEXe-M1Soyc"><i class="quRWN-Bz112c google-symbols notranslate" aria-hidden="true">arrow_downward</i></span><span jsname="V67aGc" class="UywwFc-vQzf8d" aria-hidden="true">Jump to bottom</span><span jsname="UkTUqb" class="UywwFc-kBDsod-Rtc0Jf UywwFc-kBDsod-Rtc0Jf-OWXEXe-UbuQg"></span></button></div></div></div></div></div><div jscontroller="mdnBv" jsaction="stc2ve:MO88xb;QBUr8:KNou4c"></div></div></div>

I want you to update the close caption extraction scripts to effectively be able toextract the chat as was being done before by this repository prior to the UI update.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions