diff --git a/sopel_youtube/__init__.py b/sopel_youtube/__init__.py index 27bbc5b..4332d3d 100644 --- a/sopel_youtube/__init__.py +++ b/sopel_youtube/__init__.py @@ -40,7 +40,7 @@ r"((?:T)(?P[0-9]+([,.][0-9]+)?H)?" r"(?P[0-9]+([,.][0-9]+)?M)?" r"(?P[0-9]+([,.][0-9]+)?S)?)?$") -video_regex = re.compile(r'(?:youtube\.com/(?:watch\S*v=|shorts/)|youtu\.be/)([\w-]+)') +video_regex = re.compile(r'(?:youtube\.com/(?:watch\S*v=|shorts/|live/)|youtu\.be/)([\w-]+)') playlist_regex = re.compile(r'youtube\.com/(playlist|watch)\S*list=([\w-]+)')