Would you mind sharing your script? I'm quite interested to be honest, I've stopped YouTube completely some weeks ago but this kind of interaction is what was good about it retrospectively :)
My initial idea before reading your comment (probably hard too implement) - take around the "most replayed segment" if there is one.
Would love to have the script to play around!