Enhance perfs using asynchronous HTTP and aiohttp lib

Author: clemlesneCreated Jul 7, 2025Updated Mar 14, 2026
Labelscontributions welcome!

Is your feature request related to a problem? Please describe.

Enhance performances by using asynchronous code. Specifically when consuming HTTP streams. The aiohttp is mature and can be easily implemented.

Describe the solution you'd like

Ditch requests for aiohttp.

Describe alternatives you've considered

Using async with requests, but not supported by the project.

Source: jdepoix/youtube-transcript-api