From 20199379c2bb4c905c7f6b66416cc8d2637d63f8 Mon Sep 17 00:00:00 2001 From: iou1name Date: Sun, 10 Jan 2021 15:00:49 -0500 Subject: [PATCH] fix youtube url matching error --- modules/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/url.py b/modules/url.py index f5dce3c..e96e674 100755 --- a/modules/url.py +++ b/modules/url.py @@ -31,7 +31,7 @@ def get_puush_fname(bot, url): @url_callback("youtube.com/watch") -@url_callback("youtu.be/watch") +@url_callback("youtu.be/") def youtube_title(bot, url): """ Retrieve the title of the YouTube video and display it.