Skip to content
Advertisement

problem with my python youtube video downloader

hi guys I’m new to python and i was trying to make a YouTube video downloader, the code is working but the completion message is not shown when video download is completed and I don’t know why

the code:

JavaScript

Advertisement

Answer

You have big mess in code.

You runs download() two times before you even select resolution – so you download both resolutions.

register_on_complete_callback doesn’t expect string but function’s name which it will execute on complete.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement