I want to extract subtitles from this YouTube page (link).
I found timedtext, when looking via 'View page source'.
But not when I search via javascript console. It won't find it:
document.querySelector("html").innerHTML.match("timedtext")
But for this other YouTube page, it does actually work both.
How come the difference and how to fix it?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/ajEu7kn
Comments
Post a Comment