lanbogao commited on
Commit
a232a02
1 Parent(s): 8038202

Use player web + webpage.

Browse files
Files changed (1) hide show
  1. 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": ["configs", "initial"], # "webpage",
139
- "player_client": ["ios"],
 
 
 
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
  },