Skip to content

Nebula website changed, downloads no longer working.

It seems they have changed something on nebula website and this script is no longer working.

Current branch returns:

script = bsd.find(id="initial-app-state").contents[0]
AttributeError: 'NoneType' object has no attribute 'contents'

Looking into it, seems the token and video id are no longer available in the directly returned html. I managed to get it working again using selenium with headless gecko driver to get the page post javascript running. From there the vid id and token can be extracted. I just made a pull request for that change. I don't know much about this sort of thing so not sure if this is the best solution; it does add an additional dependency. Still, works for me.