Search code examples
javascriptgoogle-chrome-extensionnetflix

How to get the details of the current Netflix video you're watching?


I'm trying to make a Chrome Extension for Netflix, and I'm curious if there's away to get details about the current video being played. I just want to extract the title of the video. I've seen that the Netflix API has been shut down so I'm curious if this is even possible?

Thanks in advance!


Solution

  • document.getElementsByClassName('player-status-main-title')
    

    or with out the html

    document.getElementsByClassName('player-status-main-title')[0].innerHTML