Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def yt_dlp_method(url):
|
|
| 117 |
Returns:
|
| 118 |
str: Path to the downloaded audio file, or None if failed.
|
| 119 |
"""
|
| 120 |
-
logging.info("Using yt-dlp method")
|
| 121 |
temp_dir = tempfile.mkdtemp()
|
| 122 |
output_template = os.path.join(temp_dir, '%(id)s.%(ext)s')
|
| 123 |
ydl_opts = {
|
|
|
|
| 117 |
Returns:
|
| 118 |
str: Path to the downloaded audio file, or None if failed.
|
| 119 |
"""
|
| 120 |
+
logging.info(f"Using yt-dlp {yt_dlp.version.version} method")
|
| 121 |
temp_dir = tempfile.mkdtemp()
|
| 122 |
output_template = os.path.join(temp_dir, '%(id)s.%(ext)s')
|
| 123 |
ydl_opts = {
|