Update app_enhanced.py
Browse files- app_enhanced.py +1 -1
app_enhanced.py
CHANGED
|
@@ -1050,7 +1050,7 @@ def handle_link():
|
|
| 1050 |
link = request.form.get('link', '')
|
| 1051 |
if not link: return "❌ No link provided"
|
| 1052 |
import yt_dlp
|
| 1053 |
-
ydl_opts = {'outtmpl': comic_generator.video_path, 'format': 'best[height<=720]'
|
| 1054 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
| 1055 |
ydl.download([link])
|
| 1056 |
success = comic_generator.generate_comic()
|
|
|
|
| 1050 |
link = request.form.get('link', '')
|
| 1051 |
if not link: return "❌ No link provided"
|
| 1052 |
import yt_dlp
|
| 1053 |
+
ydl_opts = {'outtmpl': comic_generator.video_path, 'format': 'best[height<=720]'}
|
| 1054 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
| 1055 |
ydl.download([link])
|
| 1056 |
success = comic_generator.generate_comic()
|