Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ from youtube_extractor import YouTubeExtractor
|
|
4 |
extractor = YouTubeExtractor()
|
5 |
|
6 |
def process_youtube_url(youtube_url):
|
7 |
-
metadata, best_video_only,
|
8 |
-
return extractor.format_output(metadata, best_video_only,
|
9 |
|
10 |
with gr.Blocks() as demo:
|
11 |
gr.Markdown("## YouTube 메타데이터 및 다운로드 링크 추출기")
|
|
|
4 |
extractor = YouTubeExtractor()
|
5 |
|
6 |
def process_youtube_url(youtube_url):
|
7 |
+
metadata, best_video_only, best_audio_only, best_combined = extractor.extract_info(youtube_url)
|
8 |
+
return extractor.format_output(metadata, best_video_only, best_audio_only, best_combined)
|
9 |
|
10 |
with gr.Blocks() as demo:
|
11 |
gr.Markdown("## YouTube 메타데이터 및 다운로드 링크 추출기")
|