bugfix youtube url titles

This commit is contained in:
iou1name 2020-08-21 01:03:00 -04:00
parent 5d6bf5e40f
commit 3c1c95aa3a

View File

@ -30,8 +30,8 @@ def get_puush_fname(bot, url):
bot.msg(f"[ \x0310puu.sh \x03] - \x0304{fname}") bot.msg(f"[ \x0310puu.sh \x03] - \x0304{fname}")
@url_callback("youtube.com/") @url_callback("youtube.com/watch")
@url_callback("youtu.be/") @url_callback("youtu.be/watch")
def youtube_title(bot, url): def youtube_title(bot, url):
""" """
Retrieve the title of the YouTube video and display it. Retrieve the title of the YouTube video and display it.