yahia mrafe
asyncio
for asynchronous programming, enabling the script to pause and wait for certain operations to complete without blocking the execution of other code.playwright.async_api
to automate web browser interactions asynchronously.speech_recognition
as sr
and pydub
to handle and process the audio file.os
for interacting with the operating system, such as file handling.httpx
for making asynchronous HTTP requests to download the audio file.asyncio
for asynchronous control flow.async_playwright
for browser automation.speech_recognition
and pydub
for audio file handling and processing.os
for operating system interactions like file management.httpx
for asynchronous HTTP requests.httpx.AsyncClient
to perform an asynchronous GET request and checks the response status to ensure the download is successful.