Spaces:
Paused
Paused
GilangAlRusliadi commited on
Commit ·
d51d2cb
1
Parent(s): 5c3bbe9
Yoi
Browse files
app.py
CHANGED
|
@@ -1,13 +1,15 @@
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
from streamlit_option_menu import option_menu
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
from
|
| 7 |
-
from
|
| 8 |
-
from
|
| 9 |
-
from
|
| 10 |
-
from
|
|
|
|
|
|
|
| 11 |
from other import cut_video, session, convert_size
|
| 12 |
|
| 13 |
# Navigasi Sidebar
|
|
@@ -16,7 +18,7 @@ with st.sidebar:
|
|
| 16 |
selected = option_menu("Video Downloader", options,
|
| 17 |
icons=['play', 'fire', 'star', 'moon','gear', 'house', 'lightning'], menu_icon="cast", default_index=0)
|
| 18 |
|
| 19 |
-
functions = [
|
| 20 |
|
| 21 |
if selected:
|
| 22 |
index = options.index(selected)
|
|
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
from streamlit_option_menu import option_menu
|
| 4 |
+
import sys
|
| 5 |
+
sys.path.insert(0, './')
|
| 6 |
+
from youtube import youtube
|
| 7 |
+
from pornhub import pornhub
|
| 8 |
+
from iwara import iwara
|
| 9 |
+
from mega import mega
|
| 10 |
+
from rule34 import rule34
|
| 11 |
+
from paipancon import paipancon
|
| 12 |
+
from trailer import trailer
|
| 13 |
from other import cut_video, session, convert_size
|
| 14 |
|
| 15 |
# Navigasi Sidebar
|
|
|
|
| 18 |
selected = option_menu("Video Downloader", options,
|
| 19 |
icons=['play', 'fire', 'star', 'moon','gear', 'house', 'lightning'], menu_icon="cast", default_index=0)
|
| 20 |
|
| 21 |
+
functions = [youtube, pornhub, iwara, mega, rule34, paipancon, trailer]
|
| 22 |
|
| 23 |
if selected:
|
| 24 |
index = options.index(selected)
|
iwara.py
CHANGED
|
@@ -354,5 +354,5 @@ if __name__ == '__main__':
|
|
| 354 |
|
| 355 |
# -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| 356 |
|
| 357 |
-
def
|
| 358 |
return None
|
|
|
|
| 354 |
|
| 355 |
# -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| 356 |
|
| 357 |
+
def iwara():
|
| 358 |
return None
|