Spaces:
Running
Running
Upload soundcloud.rs
Browse files- src/soundcloud.rs +0 -2
src/soundcloud.rs
CHANGED
|
@@ -49,8 +49,6 @@ pub async fn search(Query(params): Query<SearchParams>) -> impl IntoResponse {
|
|
| 49 |
tracing::info!("SoundCloud search: {}", params.q);
|
| 50 |
|
| 51 |
// Используем yt-dlp для поиска на SoundCloud
|
| 52 |
-
let search_query = format!("ytsearch{}:{}", params.limit, params.q);
|
| 53 |
-
|
| 54 |
let output = match Command::new("yt-dlp")
|
| 55 |
.args([
|
| 56 |
"--quiet",
|
|
|
|
| 49 |
tracing::info!("SoundCloud search: {}", params.q);
|
| 50 |
|
| 51 |
// Используем yt-dlp для поиска на SoundCloud
|
|
|
|
|
|
|
| 52 |
let output = match Command::new("yt-dlp")
|
| 53 |
.args([
|
| 54 |
"--quiet",
|