Closed woernsn closed 2 years ago
:heavy_check_mark: Tested successfully on Ubuntu 21.04 / Kodi 19.3.0 :heavy_check_mark: Tested successfully on Raspberry Pi 3B+ / LibreElec 10.0.2 / Kodi 19.4.0
Hey, thank you so much for fixing the json decoder exception and catch VideoUnavailable. I will go ahead and merge your PR and I will also give you the permission to read and write on this project when I get home soon.
Again, thank you for contributing and your the best.
There is a problem catching the
JsonDecodeError
within pytube. I couldn't find the problem as the actual thrown exception is indeed aJsonDecodeError
but isn't caught. The more-genericValueError
is caught though, so I changed it within the the pytube code - we should think about that once we upgrade pytube again. Referencing https://github.com/pytube/pytube/issues/1190.Also, I caught the
VideoUnavailable
exception which was a reason for error messages popping up here and there.In addition, I removed the
Donation
part of theREADME.md
as the link is not existing any longer.