From 3658d6a49fecfb6d785fd20af3a3d717929ac95a Mon Sep 17 00:00:00 2001 From: Patryk Mazur Date: Wed, 22 Apr 2026 20:08:04 +0200 Subject: [PATCH] Small fixes V1.0.5 --- bot/utils/helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot/utils/helpers.py b/bot/utils/helpers.py index d1d1664..3fffcab 100644 --- a/bot/utils/helpers.py +++ b/bot/utils/helpers.py @@ -58,9 +58,12 @@ def download_video(yt_url: str) -> dict: with yt_dlp.YoutubeDL(ydl_opts) as ydl: try: + print(f'Pobieranie {yt_url}') info = ydl.extract_info(yt_url, download=True) filename = ydl.prepare_filename(info) + print(f'Pobrano {yt_url}') except Exception as e: + print(f'Błąd pobierania: {e}') return {'status': 'error', 'message': f'Błąd pobierania: {e}'} return {