Skip to content

1. Load Decipher JavaScript

Linus Klöckner edited this page Aug 23, 2018 · 5 revisions

The decipher function is stored in a JavaScript file.

Needs: Youtube video HTML string
Gives: JavaScript file ("s.ytimg.com/path-to-javascript")

RegEx:

ytplayer.config\s=\s{.*"assets":({.*?})

RegEx Match (Group 1):

{ "css" : ... , "js" : path-to-javascript }

Next: Load Decipher Function Name