fix: use tv_embedded player client to bypass n-challenge requirement
tv_embedded doesn't need n-challenge solving, falling back to web.
This commit is contained in:
@@ -47,7 +47,7 @@ async def extract_audio(url: str) -> Path:
|
|||||||
"--audio-format", "mp3",
|
"--audio-format", "mp3",
|
||||||
"--audio-quality", "128K",
|
"--audio-quality", "128K",
|
||||||
"--format", "bestaudio/best/b",
|
"--format", "bestaudio/best/b",
|
||||||
"--extractor-args", "youtube:player_client=web",
|
"--extractor-args", "youtube:player_client=tv_embedded,web",
|
||||||
"--output", outtmpl,
|
"--output", outtmpl,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user