Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from pytube import YouTube
|
|
4 |
class YouTubeDownloader:
|
5 |
@staticmethod
|
6 |
def run():
|
7 |
-
st.header("
|
8 |
url = st.text_input("Enter YouTube URL to download:")
|
9 |
if url:
|
10 |
YouTubeDownloader.validate_url(url)
|
@@ -15,7 +15,7 @@ class YouTubeDownloader:
|
|
15 |
file_ = YouTubeDownloader.download_video(url)
|
16 |
st.video(file_)
|
17 |
YouTubeDownloader.helper_message()
|
18 |
-
st.markdown("
|
19 |
|
20 |
|
21 |
@staticmethod
|
@@ -35,7 +35,7 @@ class YouTubeDownloader:
|
|
35 |
import validators
|
36 |
|
37 |
if not validators.url(url):
|
38 |
-
st.error("
|
39 |
st.stop()
|
40 |
|
41 |
@classmethod
|
@@ -50,8 +50,7 @@ class YouTubeDownloader:
|
|
50 |
@classmethod
|
51 |
def helper_message(cls):
|
52 |
st.write(
|
53 |
-
"
|
54 |
-
"click the vertical ... icon (aka hamburger button) in the bottom-right corner (in the video above) and click download."
|
55 |
)
|
56 |
|
57 |
|
|
|
4 |
class YouTubeDownloader:
|
5 |
@staticmethod
|
6 |
def run():
|
7 |
+
st.header("์ ํ๋ธ(Youtube) ์์ URL๋ก ๋ค์ด๋ก๋")
|
8 |
url = st.text_input("Enter YouTube URL to download:")
|
9 |
if url:
|
10 |
YouTubeDownloader.validate_url(url)
|
|
|
15 |
file_ = YouTubeDownloader.download_video(url)
|
16 |
st.video(file_)
|
17 |
YouTubeDownloader.helper_message()
|
18 |
+
st.markdown("https://github.com/HelpingAI))")
|
19 |
|
20 |
|
21 |
@staticmethod
|
|
|
35 |
import validators
|
36 |
|
37 |
if not validators.url(url):
|
38 |
+
st.error("URL์ด ์ ์์ ์ด์ง ์์ต๋๋ค.")
|
39 |
st.stop()
|
40 |
|
41 |
@classmethod
|
|
|
50 |
@classmethod
|
51 |
def helper_message(cls):
|
52 |
st.write(
|
53 |
+
"์์ ํ๋ฉด ์ฐ์ธก ํ๋จ ... ๋ฒํผ์ ํด๋ฆญํ๋ฉด ๋ค์ด๋ก๋ ํ ์ ์์ต๋๋ค."
|
|
|
54 |
)
|
55 |
|
56 |
|