Changes updated

This commit is contained in:
ritikprajapat21 2025-05-12 09:36:20 +05:30
parent c1acd9cfaf
commit 16867b4bed

View file

@ -356,8 +356,8 @@ async def add_youtube_video_document(
}
oembed_url = "https://www.youtube.com/oembed"
async with aiohttp.ClientSession() as session:
async with session.get(oembed_url, params=params) as response:
async with aiohttp.ClientSession() as http_session:
async with http_session.get(oembed_url, params=params) as response:
video_data = await response.json()
# Get video transcript