Compare commits
No commits in common. "master" and "issue#5" have entirely different histories.
15
download.py
15
download.py
@ -28,15 +28,12 @@ def get(yt_url):
|
||||
|
||||
with yt.YoutubeDL(ytdl_options) as ytdl:
|
||||
ytdl.download(yt_url)
|
||||
try:
|
||||
notification.notify(
|
||||
title = "yt2mp3",
|
||||
message = "Download and conversion complete.",
|
||||
app_icon = None,
|
||||
timeout = 3,
|
||||
)
|
||||
except:
|
||||
print("Notification failed.")
|
||||
notification.notify(
|
||||
title = "yt2mp3",
|
||||
message = "Download and conversion complete.",
|
||||
app_icon = None,
|
||||
timeout = 3,
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user