bugfix youtube url titles
This commit is contained in:
parent
5d6bf5e40f
commit
3c1c95aa3a
|
@ -30,8 +30,8 @@ def get_puush_fname(bot, url):
|
|||
bot.msg(f"[ \x0310puu.sh \x03] - \x0304{fname}")
|
||||
|
||||
|
||||
@url_callback("youtube.com/")
|
||||
@url_callback("youtu.be/")
|
||||
@url_callback("youtube.com/watch")
|
||||
@url_callback("youtu.be/watch")
|
||||
def youtube_title(bot, url):
|
||||
"""
|
||||
Retrieve the title of the YouTube video and display it.
|
||||
|
|
Loading…
Reference in New Issue
Block a user