Spaces:
Running
Running
final fix i hope
Browse files
routes/ytApi/getPreview.py
CHANGED
@@ -49,6 +49,7 @@ def getPreview(request):
|
|
49 |
'progress_hooks': [helpers.thisIsHook],
|
50 |
'download_ranges': download_range_func(None, [(0, duration)]),
|
51 |
'force_keyframes_at_cuts': True,
|
|
|
52 |
}
|
53 |
|
54 |
try:
|
|
|
49 |
'progress_hooks': [helpers.thisIsHook],
|
50 |
'download_ranges': download_range_func(None, [(0, duration)]),
|
51 |
'force_keyframes_at_cuts': True,
|
52 |
+
"extractor_args": {"youtube": {"player_client": "ios"}},
|
53 |
}
|
54 |
|
55 |
try:
|