I have the below code that has been used to download youtube videos. I automatically detect if it’s a playlist or single video. However all the sudden it is giving the above error. What can be the problem? Answer Your issue doesn’t have anything to do with your code. Youtube does no longer have a dislike count, they simply removed
Tag: pafy
Downloading YouTube videoes with pafy module with tqdm progressbar
I am trying to make a code to download videos from YouTube using pafy module and a progressbar using tqdm module, however the progressbar is finished before the download complete. here is my code download piece: here is a pic a the progressbar: https://i.stack.imgur.com/VMBUN.png Answer Problem is because pbar.update() expects value current_received – previous_received download gives only current_received so you