https://www.youtube.com/playlist?list=PLMX26aiIvX5oCR4bBg2j0W4KKgjYtYBfv
-- I just want to know its exact total time.
Thank you for reading and hopefully answering soon. :)
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 19:47:58 |
Calls: | 6,667 |
Calls today: | 1 |
Files: | 12,216 |
Messages: | 5,337,043 |