mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-01 18:19:08 +00:00
Changes updated
This commit is contained in:
parent
c1acd9cfaf
commit
16867b4bed
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue