Fix youtube url parsing
This commit is contained in:
parent
8147128067
commit
6168713d90
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue