• Is there an online web site to calculate how many minutes in a YouTube

    From Ant@21:1/5 to All on Mon Mar 6 22:48:30 2023
    https://www.youtube.com/playlist?list=PLMX26aiIvX5oCR4bBg2j0W4KKgjYtYBfv
    -- I just want to know its exact total time.

    Thank you for reading and hopefully answering soon. :)
    --
    "My righteousness draws near speedily, my salvation is on the way, and my arm will bring justice to the nations. The islands will look to me and wait in hope for my arm." --Isaiah 51:5. China's 3-Body S1 was good overall. 2 much 2 C & do!
    Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
    /\___/\ Ant(Dude) @ http://aqfl.net & http://antfarm.home.dhs.org.
    / /\ /\ \ Please nuke ANT if replying by e-mail.
    | |o o| |
    \ _ /
    ( )

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tavis Ormandy@21:1/5 to Ant on Thu Mar 16 23:40:19 2023
    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 taviso@sdf.org
    _\_V _( ) _( ) @taviso

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ant@21:1/5 to Tavis Ormandy on Sun Mar 19 01:55:25 2023
    Tavis Ormandy <taviso@gmail.com> wrote:
    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.

    What about minutes and seconds with the hour?
    --
    "My mouth is filled with your praise, declaring your splendor all day long." --Psalm 71:8. Slammy times with heavy rain with leaks, gatherings, March madnesses, long commutes, offline, etc. :(
    Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
    /\___/\ Ant(Dude) @ http://aqfl.net & http://antfarm.home.dhs.org.
    / /\ /\ \ Please nuke ANT if replying by e-mail.
    | |o o| |
    \ _ /
    ( )

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)