Spaces:
Runtime error
Runtime error
imperialwool
commited on
Commit
•
5000d91
1
Parent(s):
ffb7cb9
attempt to fix yt thing 1
Browse files- Dockerfile +1 -1
- routes/config.json +1 -1
- routes/ytApi/getFull.py +1 -1
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.11.
|
2 |
|
3 |
USER root
|
4 |
|
|
|
1 |
+
FROM python:3.11.9-bullseye
|
2 |
|
3 |
USER root
|
4 |
|
routes/config.json
CHANGED
@@ -9,5 +9,5 @@
|
|
9 |
"config-path": "./routes/config.json",
|
10 |
"openapi-yaml-path": "./static/api.yaml",
|
11 |
|
12 |
-
"buildVersion": "1.0
|
13 |
}
|
|
|
9 |
"config-path": "./routes/config.json",
|
10 |
"openapi-yaml-path": "./static/api.yaml",
|
11 |
|
12 |
+
"buildVersion": "1.0 commit156"
|
13 |
}
|
routes/ytApi/getFull.py
CHANGED
@@ -40,7 +40,7 @@ def getFull(request):
|
|
40 |
'format': f'{audioformat}/{quality}audio/{quality}',
|
41 |
'outtmpl': f"{config['full-path']}/{urlcode}.{audioformat}",
|
42 |
'progress_hooks': [helpers.thisIsHook],
|
43 |
-
"extractor_args": {"youtube": {"player_client":
|
44 |
}
|
45 |
|
46 |
try:
|
|
|
40 |
'format': f'{audioformat}/{quality}audio/{quality}',
|
41 |
'outtmpl': f"{config['full-path']}/{urlcode}.{audioformat}",
|
42 |
'progress_hooks': [helpers.thisIsHook],
|
43 |
+
"extractor_args": {"youtube": {"player_client": ['ios']}},
|
44 |
}
|
45 |
|
46 |
try:
|