Spaces:
Runtime error
Runtime error
Use player web + webpage.
Browse files- fetchYoutubeSubtitle.py +5 -2
fetchYoutubeSubtitle.py
CHANGED
@@ -135,8 +135,11 @@ async def fetchSubtitlebyType(
|
|
135 |
"extractor_retries": 0,
|
136 |
"extractor_args": {
|
137 |
"youtube": {
|
138 |
-
"player_skip": [
|
139 |
-
|
|
|
|
|
|
|
140 |
"skip": ["hls", "dash"], # don't skip "translated_subs"
|
141 |
}
|
142 |
},
|
|
|
135 |
"extractor_retries": 0,
|
136 |
"extractor_args": {
|
137 |
"youtube": {
|
138 |
+
"player_skip": [
|
139 |
+
"configs",
|
140 |
+
"initial",
|
141 |
+
], # skip "webpage" will cause l2P5PgL1LfI missing some langs,
|
142 |
+
"player_client": ["web"],
|
143 |
"skip": ["hls", "dash"], # don't skip "translated_subs"
|
144 |
}
|
145 |
},
|