media-jugg 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/mediajugg +2 -2
- data/dlp/ytdlp_runner.py +1 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19e8c5c223bced01c1d53288f667d3376d609699f564bcdd4bc8ec51b2258f75
|
|
4
|
+
data.tar.gz: c84d1df76246cae94d5ebd19c95355f356230bf47d384d8e7dea80baa231da7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c4fda44d1a09d77c985d7dc7f9d2b596e21253c2387b82ae02369e00a410a5ee124e76d30f68c38f273833dbe10ca28a5668bfa38eec9d45a0dbff57efdbc48
|
|
7
|
+
data.tar.gz: b3fb2b8e622446bdcccb003929bfc3a198cb38992f25ef6d63b83ba2c8bc55e38e83388d188f7f1b457dc10e60f6c419626f49d1047127ed24061b363401d295
|
data/bin/mediajugg
CHANGED
|
@@ -6,13 +6,13 @@ require 'media_jugg'
|
|
|
6
6
|
class MediaJuggCLI < Thor
|
|
7
7
|
desc "audio URL", "downloads an audio from the matching source"
|
|
8
8
|
def audio(url)
|
|
9
|
-
puts "Downloading your audio now #{url}"
|
|
9
|
+
puts "🔊 Downloading your audio now #{url}"
|
|
10
10
|
MediaJugg.audio(url)
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
desc "video URL", "downloads a video from the matching source"
|
|
14
14
|
def video(url)
|
|
15
|
-
puts "Downloading your video now #{url}"
|
|
15
|
+
puts "📼 Downloading your video now #{url}"
|
|
16
16
|
MediaJugg.video(url)
|
|
17
17
|
end
|
|
18
18
|
end
|
data/dlp/ytdlp_runner.py
CHANGED
|
@@ -5,10 +5,6 @@ import argparse
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
youtube_url = sys.argv[1]
|
|
8
|
-
print("YT URL FROM ARG IS", youtube_url)
|
|
9
8
|
yt_opts = yt_dlp.parse_options(sys.argv[2:]).ydl_opts
|
|
10
|
-
print("YT OPTS IS", yt_opts)
|
|
11
9
|
ydl = yt_dlp.YoutubeDL(yt_opts)
|
|
12
|
-
|
|
13
|
-
ydl.download(youtube_url)
|
|
14
|
-
print("DID DL")
|
|
10
|
+
ydl.download(youtube_url)
|