From 6168713d90e3ce80c37b24f2b66888da7c40cf5b Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 15 Aug 2018 14:59:05 +0000 Subject: [PATCH] Fix youtube url parsing --- argondjbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argondjbot.py b/argondjbot.py index b056023..3460321 100644 --- a/argondjbot.py +++ b/argondjbot.py @@ -309,7 +309,7 @@ class ArgonDJBot(yaboli.Bot): lines_parse_error = [] for arg in args: if arg == "-id": continue - match = re.fullmatch(self.YOUTUBE_RE, arg) + match = re.match(self.YOUTUBE_RE, arg) if match: video_ids.append(match.group(self.YOUTUBE_RE_GROUP)) else: