On 2023-03-06, Ant wrote:
https://www.youtube.com/playlist?list=PLMX26aiIvX5oCR4bBg2j0W4KKgjYtYBfv
-- I just want to know its exact total time.
Thank you for reading and hopefully answering soon. :)
I don't know, but I would just use devtools.
Here is how I would do it (only tested with Chrome), but press F12 on
that page and then type this into the console:
$$('ytd-thumbnail-overlay-time-status-renderer').
map(a => a.innerText.split(':').reverse()).
map(a => parseInt(a[0]) + parseInt(a[1]) * 60 + parseInt(a[2]??0) * 3600).
reduce((n,a) => n + a, 0) / 60 / 60
That's the runtime in hours (22.6), or remove the last '/ 60' to get minutes.
The $$() is a shorthand to query elements, then just extracting the
time and converting to seconds.
Tavis.
--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger
[email protected]
_\_V _( ) _( ) @taviso
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)