Spaces:
Paused
Paused
GilangAlRusliadi commited on
Commit ·
dba9952
1
Parent(s): e50e5eb
App
Browse files
app.py
CHANGED
|
@@ -22,9 +22,15 @@ if selected:
|
|
| 22 |
index = options.index(selected)
|
| 23 |
fungsi = functions[index]
|
| 24 |
st.title(f"{selected} Video Downloader and Cutter")
|
| 25 |
-
st.write(f"Potong dan download sebagian video {selected}.")
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
cut = st.checkbox("Potong Video")
|
| 30 |
if cut:
|
|
|
|
| 22 |
index = options.index(selected)
|
| 23 |
fungsi = functions[index]
|
| 24 |
st.title(f"{selected} Video Downloader and Cutter")
|
| 25 |
+
st.write(f"Potong dan download sebagian video {selected}.")
|
| 26 |
+
if selected == 'Youtube' or selected == 'Pornhub':
|
| 27 |
+
video_link = st.text_input("Link Video", value='https://www.youtube.com/watch?v=ZGltvcmVSAk')
|
| 28 |
+
resolution = st.selectbox("Pilih Resolusi", (360, 480, 720), 2)
|
| 29 |
+
elif selected == 'Iwara' or selected == 'Mega':
|
| 30 |
+
name = st.text_input("Nama File")
|
| 31 |
+
video_link = st.text_input("Link Video")
|
| 32 |
+
elif selected == 'Iwara' or selected == 'Mega':
|
| 33 |
+
video_link = st.text_input("Link Video")
|
| 34 |
|
| 35 |
cut = st.checkbox("Potong Video")
|
| 36 |
if cut:
|