+ 1

What is on_progress_callback and on_complete_callback in python's module pytube?

I want to make project for my college but i'm stuck on these two topics of pytube module please help me how to use these two.

22nd Aug 2020, 8:59 AM
Varun
1 Respuesta
0
With those methods you can attach callback functions for "onProgress" and "onComplete". You can for example - add a function as "on progress callback" to run and update some display (a progress bar, an estimated time left). It will be executed every time when a new chunk of the video is loaded. Read this reference for more details: https://python-pytube.readthedocs.io/en/latest/api.html
30th Sep 2020, 12:57 AM
Mihai Iacov
Mihai Iacov - avatar