Sushichef.py script error for downloading youtube videos from khan academy

We are trying to download videos from khan academy using the sushi chef script provided on this link:

During the execution of the script we get the following errors (see picture 20230509_102019.jpg - Google Drive)

We have quickly reviewed the ricecooker’s code and we guess that you are using youtube-dl, but now this library is deprecated and it is not working.
Is what we are thinking the origin of the error? or what alternatives of solution do you recommend?

Hi @fwilber,

While this code is open source, and you are fully welcome to use it, we do not directly support its use, as we would strongly recommend using the channels we have already created using it.

That said, it seems likely that the code you are using is out of date, so I would suggest refreshing from upstream.

Kind Regards,
Richard