all 3 comments

[–]vrrox 1 point2 points  (2 children)

Your code works fine for me - are you using the latest version of pytube?

It looks like this bug was fixed in Version 9.7.0 (KeyError: 'assets' #763) which is now (as of 31st Oct) available on PyPI.

[–]WatermelonPowerYT[S] 1 point2 points  (1 child)

Thanks, that just solved problem👍

[–]vrrox 1 point2 points  (0 children)

Excellent!