revert feb99c0dc1
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s

revert add args due to new update
This commit is contained in:
2025-09-29 16:46:15 +00:00
parent f7cb27b166
commit 236ef0dcda

View File

@@ -55,12 +55,7 @@ def download_video(url: str, format: str, out_path: str, temp_path: str, progres
opts = { opts = {
'format': format, 'format': format,
'paths': {'home': out_path, 'temp': temp_path}, 'paths': {'home': out_path, 'temp': temp_path},
'progress_hooks': [hook], 'progress_hooks': [hook]
'extractor_args': {
'youtube': {
'player_client': ['default', '-tv_simply'],
}
}
} }
with yt_dlp.YoutubeDL(opts) as ydl: with yt_dlp.YoutubeDL(opts) as ydl:
ydl.download([url]) ydl.download([url])