1. 13
  1.  

  2. 3

    This is such a cool and concise overview of how YouTube works. Kudos!

    1. 2

      Huh. My immediate assumption based on the date, was this was going to be way out of date.

      However its pretty spot on with the current state of affairs. The JavaScript parsing is key for anyone that wants to make a serious library for this. Its sad that it has to be that way, but I dont think anyone has found a better programmatic way to get either the decrypted signatures, or to get the algorithm used. YouTube-DL is one of the few projects that implements this. Even big projects like Annie dont support it:

      https://github.com/iawia002/annie/issues/805

      I found a smaller project in Go that is able to do the JavaScript parsing:

      https://github.com/kkdai/youtube/blob/master/decipher.go