Spaces:
Configuration error
Configuration error
indiandelhidarbar1-crypto commited on
Commit ·
b0ec0e1
1
Parent(s): e761f0e
Fix yt pacrror
Browse files- app.py +0 -2
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -27,7 +27,6 @@ def extract(url: str, format_type: str = "video") -> dict:
|
|
| 27 |
"--no-download",
|
| 28 |
"--no-warnings",
|
| 29 |
"--no-playlist",
|
| 30 |
-
"--impersonate", "chrome",
|
| 31 |
"--extractor-args", "youtube:player_client=android,web",
|
| 32 |
url,
|
| 33 |
],
|
|
@@ -55,7 +54,6 @@ def extract(url: str, format_type: str = "video") -> dict:
|
|
| 55 |
"-f", format_arg,
|
| 56 |
"--no-warnings",
|
| 57 |
"--no-playlist",
|
| 58 |
-
"--impersonate", "chrome",
|
| 59 |
"--extractor-args", "youtube:player_client=android,web",
|
| 60 |
url,
|
| 61 |
],
|
|
|
|
| 27 |
"--no-download",
|
| 28 |
"--no-warnings",
|
| 29 |
"--no-playlist",
|
|
|
|
| 30 |
"--extractor-args", "youtube:player_client=android,web",
|
| 31 |
url,
|
| 32 |
],
|
|
|
|
| 54 |
"-f", format_arg,
|
| 55 |
"--no-warnings",
|
| 56 |
"--no-playlist",
|
|
|
|
| 57 |
"--extractor-args", "youtube:player_client=android,web",
|
| 58 |
url,
|
| 59 |
],
|
requirements.txt
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
yt-dlp>=2025.1.1
|
| 2 |
-
curl-cffi>=0.7.4
|
| 3 |
spaces
|
|
|
|
| 1 |
yt-dlp>=2025.1.1
|
|
|
|
| 2 |
spaces
|