Spaces:
Running
Running
Add resilient YouTube client fallbacks for hosted imports
Browse files- scripts/youtube_audio.py +1 -1
scripts/youtube_audio.py
CHANGED
|
@@ -16,7 +16,7 @@ options = {
|
|
| 16 |
'extractor_retries': 1, 'fragment_retries': 1,
|
| 17 |
'js_runtimes': {'node': {}}, 'format': 'bestaudio/best',
|
| 18 |
'extractor_args': {
|
| 19 |
-
'youtube': {'player_client': ['mweb']},
|
| 20 |
'youtubepot-bgutilhttp': {'base_url': ['http://127.0.0.1:4416']},
|
| 21 |
},
|
| 22 |
'outtmpl': str(Path(target) / 'audio.%(ext)s'),
|
|
|
|
| 16 |
'extractor_retries': 1, 'fragment_retries': 1,
|
| 17 |
'js_runtimes': {'node': {}}, 'format': 'bestaudio/best',
|
| 18 |
'extractor_args': {
|
| 19 |
+
'youtube': {'player_client': ['android_vr', 'visionos', 'web_embedded', 'mweb']},
|
| 20 |
'youtubepot-bgutilhttp': {'base_url': ['http://127.0.0.1:4416']},
|
| 21 |
},
|
| 22 |
'outtmpl': str(Path(target) / 'audio.%(ext)s'),
|