python-youtube icon indicating copy to clipboard operation
python-youtube copied to clipboard

Async Style

Open AhmedNourJamalElDin opened this issue 4 years ago • 3 comments

Hi, I need to fetch videos of many playlists, and as you know, it's not good to wait each call to finish but make all requests together and wait them all to finish.

Is there such functionality in this lib?

Thanks

AhmedNourJamalElDin avatar Apr 15 '20 07:04 AhmedNourJamalElDin

Sorry, now this library not support for async for the dependency requests. :).

This is a good idea. I will check the async lib httpx, and give a try.

Thanks.

MerleLiuKun avatar Apr 16 '20 09:04 MerleLiuKun

I have started working on this, see my fork: https://github.com/niwla23/python-youtube-async on branch async-dev @AhmedNourJamalElDin

EDIT: in case anyone wants to help, the tests are broken in the current state

niwla23 avatar Nov 09 '21 17:11 niwla23

Did anyone ever make progress on async support for the library?

dj2ball avatar Feb 28 '24 16:02 dj2ball