Lint and format
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 34s
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 34s
This commit is contained in:
parent
84d4379f16
commit
2f25ccf600
1 changed files with 1 additions and 2 deletions
|
@ -38,9 +38,8 @@ export function streamYouTube(link: string, format: string): ReadableStream<Uint
|
||||||
start(controller) {
|
start(controller) {
|
||||||
const args = ['--no-write-thumbnail', '-o', '-'];
|
const args = ['--no-write-thumbnail', '-o', '-'];
|
||||||
|
|
||||||
|
|
||||||
if (HTTPS_PROXY) {
|
if (HTTPS_PROXY) {
|
||||||
args.push('--proxy', HTTPS_PROXY)
|
args.push('--proxy', HTTPS_PROXY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mimeType?.includes('audio')) {
|
if (mimeType?.includes('audio')) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue