Spaces:
Sleeping
Sleeping
Update fetchYoutubeSubtitle.py
Browse files- fetchYoutubeSubtitle.py +1 -1
fetchYoutubeSubtitle.py
CHANGED
@@ -93,7 +93,7 @@ async def fetchYoutubeSubtitle(videoId: str) -> Dict:
|
|
93 |
"http": proxy,
|
94 |
"https": proxy,
|
95 |
}
|
96 |
-
response = session.get(
|
97 |
|
98 |
loader = SRTLoader(await response.blob())
|
99 |
splitter = TokenTextSplitter(
|
|
|
93 |
"http": proxy,
|
94 |
"https": proxy,
|
95 |
}
|
96 |
+
response = session.get(subtitleUrl)
|
97 |
|
98 |
loader = SRTLoader(await response.blob())
|
99 |
splitter = TokenTextSplitter(
|