it is not the same case, but I realized I can use the browser extension "video download helper" to download the content which is similar to your approach :D
I still feel $5 is worth it since that is how I found you actually not decrypt the DRM, just download the streaming via selenium, that is way easier, thank you!