Spaces:
Paused
Paused
GilangAlRusliadi commited on
Commit ·
dbbe8c4
1
Parent(s): d51d2cb
Yoi
Browse files- mega.py +1 -1
- paipancon.py +2 -5
- pornhub.py +1 -1
- rule34.py +1 -1
- trailer.py +1 -1
- youtube.py +1 -1
mega.py
CHANGED
|
@@ -19,7 +19,7 @@ def download_mega(name, directory, url):
|
|
| 19 |
|
| 20 |
return filename
|
| 21 |
|
| 22 |
-
def
|
| 23 |
judul = judul + '.mp4'
|
| 24 |
download = '/home/user/app/Mega'
|
| 25 |
filename = download_mega(judul, download, url)
|
|
|
|
| 19 |
|
| 20 |
return filename
|
| 21 |
|
| 22 |
+
def mega(url, judul):
|
| 23 |
judul = judul + '.mp4'
|
| 24 |
download = '/home/user/app/Mega'
|
| 25 |
filename = download_mega(judul, download, url)
|
paipancon.py
CHANGED
|
@@ -85,8 +85,5 @@ def get_info_paipancon(link):
|
|
| 85 |
# Return the results
|
| 86 |
return title, series, actress, digit, server_link, hq_link
|
| 87 |
|
| 88 |
-
def
|
| 89 |
-
return None
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
| 85 |
# Return the results
|
| 86 |
return title, series, actress, digit, server_link, hq_link
|
| 87 |
|
| 88 |
+
def paipancon():
|
| 89 |
+
return None
|
|
|
|
|
|
|
|
|
pornhub.py
CHANGED
|
@@ -16,7 +16,7 @@ def download_pornhub(url, resolusi, nama_channel, judul_video):
|
|
| 16 |
subprocess.run(["youtube-dl", "--verbose", "-f", f"bestvideo[height<={resolusi}]+bestaudio/best[height<={resolusi}]", "-o", filename, url])
|
| 17 |
return filename
|
| 18 |
|
| 19 |
-
def
|
| 20 |
video_info = ""
|
| 21 |
|
| 22 |
ydl_opts = {
|
|
|
|
| 16 |
subprocess.run(["youtube-dl", "--verbose", "-f", f"bestvideo[height<={resolusi}]+bestaudio/best[height<={resolusi}]", "-o", filename, url])
|
| 17 |
return filename
|
| 18 |
|
| 19 |
+
def pornhub(url, resolusi_input):
|
| 20 |
video_info = ""
|
| 21 |
|
| 22 |
ydl_opts = {
|
rule34.py
CHANGED
|
@@ -80,5 +80,5 @@ def get_info_rule34(soup: BeautifulSoup):
|
|
| 80 |
|
| 81 |
return video_title, artist, thumbnail_url, video_url
|
| 82 |
|
| 83 |
-
def
|
| 84 |
return None
|
|
|
|
| 80 |
|
| 81 |
return video_title, artist, thumbnail_url, video_url
|
| 82 |
|
| 83 |
+
def rule34():
|
| 84 |
return None
|
trailer.py
CHANGED
|
@@ -5,7 +5,7 @@ import json
|
|
| 5 |
from other import get_video_info, get_digits, download_file, convert_videos, join_video
|
| 6 |
|
| 7 |
|
| 8 |
-
def
|
| 9 |
# Set the path to the thumbnail directory
|
| 10 |
thumbnail_dir = "/home/user/app/Trailer/Thumbnail"
|
| 11 |
if not os.path.exists(thumbnail_dir):
|
|
|
|
| 5 |
from other import get_video_info, get_digits, download_file, convert_videos, join_video
|
| 6 |
|
| 7 |
|
| 8 |
+
def trailer(url):
|
| 9 |
# Set the path to the thumbnail directory
|
| 10 |
thumbnail_dir = "/home/user/app/Trailer/Thumbnail"
|
| 11 |
if not os.path.exists(thumbnail_dir):
|
youtube.py
CHANGED
|
@@ -29,7 +29,7 @@ def download_youtube(url, nama_channel, new_name):
|
|
| 29 |
|
| 30 |
return filename
|
| 31 |
|
| 32 |
-
def
|
| 33 |
video_info = ""
|
| 34 |
yt = YouTube(link)
|
| 35 |
nama_channel = yt.author
|
|
|
|
| 29 |
|
| 30 |
return filename
|
| 31 |
|
| 32 |
+
def youtube(link, resolusi_input):
|
| 33 |
video_info = ""
|
| 34 |
yt = YouTube(link)
|
| 35 |
nama_channel = yt.author
|