fix youtube url matching error
This commit is contained in:
parent
8c13914420
commit
20199379c2
|
@ -31,7 +31,7 @@ def get_puush_fname(bot, url):
|
||||||
|
|
||||||
|
|
||||||
@url_callback("youtube.com/watch")
|
@url_callback("youtube.com/watch")
|
||||||
@url_callback("youtu.be/watch")
|
@url_callback("youtu.be/")
|
||||||
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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user