Spaces:
Running
Running
GilangAlRusliadi
commited on
Commit
·
a12586d
1
Parent(s):
17cc3d9
JOI
Browse files- README.md +1 -1
- app.py +6 -1
- iwara.py +5 -0
- paipancon.py +2 -1
- rule34.py +4 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: ✂️
|
4 |
colorFrom: purple
|
5 |
colorTo: red
|
|
|
1 |
---
|
2 |
+
title: Downloader and Cutter
|
3 |
emoji: ✂️
|
4 |
colorFrom: purple
|
5 |
colorTo: red
|
app.py
CHANGED
@@ -3,6 +3,11 @@ import streamlit as st
|
|
3 |
from streamlit_option_menu import option_menu
|
4 |
from youtube import youtube
|
5 |
from pornhub import pornhub
|
|
|
|
|
|
|
|
|
|
|
6 |
from other import cut_video, session, convert_size
|
7 |
|
8 |
# Navigasi Sidebar
|
@@ -11,7 +16,7 @@ with st.sidebar:
|
|
11 |
selected = option_menu("Video Downloader", options,
|
12 |
icons=['play', 'fire', 'star', 'moon','gear', 'house', 'lightning'], menu_icon="cast", default_index=0)
|
13 |
|
14 |
-
functions = [youtube, pornhub]
|
15 |
|
16 |
if selected:
|
17 |
index = options.index(selected)
|
|
|
3 |
from streamlit_option_menu import option_menu
|
4 |
from youtube import youtube
|
5 |
from pornhub import pornhub
|
6 |
+
from iwara import iwara
|
7 |
+
from mega import mega
|
8 |
+
from rule34 import rule34
|
9 |
+
from paipancon import paipancon
|
10 |
+
from trailer import trailer
|
11 |
from other import cut_video, session, convert_size
|
12 |
|
13 |
# Navigasi 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 = [youtube, pornhub, iwara, mega, rule34, paipancon, trailer]
|
20 |
|
21 |
if selected:
|
22 |
index = options.index(selected)
|
iwara.py
CHANGED
@@ -351,3 +351,8 @@ if __name__ == '__main__':
|
|
351 |
else:
|
352 |
print('invalid url')
|
353 |
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
351 |
else:
|
352 |
print('invalid url')
|
353 |
sys.exit(1)
|
354 |
+
|
355 |
+
# -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
356 |
+
|
357 |
+
def iwara():
|
358 |
+
return None
|
paipancon.py
CHANGED
@@ -85,7 +85,8 @@ def get_info_paipancon(link):
|
|
85 |
# Return the results
|
86 |
return title, series, actress, digit, server_link, hq_link
|
87 |
|
88 |
-
|
|
|
89 |
|
90 |
|
91 |
|
|
|
85 |
# Return the results
|
86 |
return title, series, actress, digit, server_link, hq_link
|
87 |
|
88 |
+
def paipancon():
|
89 |
+
return None
|
90 |
|
91 |
|
92 |
|
rule34.py
CHANGED
@@ -78,4 +78,7 @@ def get_info_rule34(soup: BeautifulSoup):
|
|
78 |
print("Tidak ditemukan video kualitas 720p atau 480p")
|
79 |
video_url = None
|
80 |
|
81 |
-
return video_title, artist, thumbnail_url, video_url
|
|
|
|
|
|
|
|
78 |
print("Tidak ditemukan video kualitas 720p atau 480p")
|
79 |
video_url = None
|
80 |
|
81 |
+
return video_title, artist, thumbnail_url, video_url
|
82 |
+
|
83 |
+
def rule34():
|
84 |
+
return None
|