diff --git a/twitchdl/utils.py b/twitchdl/utils.py index a93fdd9..1339f24 100644 --- a/twitchdl/utils.py +++ b/twitchdl/utils.py @@ -69,9 +69,9 @@ VIDEO_PATTERNS = [ ] CLIP_PATTERNS = [ - r"^(?P[A-Za-z0-9]+(?:-[A-Za-z0-9_]+)?)$", - r"^https://(www.)?twitch.tv/\w+/clip/(?P[A-Za-z0-9]+(?:-[A-Za-z0-9_]+)?)(\?.+)?$", - r"^https://clips.twitch.tv/(?P[A-Za-z0-9]+(?:-[A-Za-z0-9_]+)?)(\?.+)?$", + r"^(?P[A-Za-z0-9]+(?:-[A-Za-z0-9_-]{16})?)$", + r"^https://(www.)?twitch.tv/\w+/clip/(?P[A-Za-z0-9]+(?:-[A-Za-z0-9_-]{16})?)(\?.+)?$", + r"^https://clips.twitch.tv/(?P[A-Za-z0-9]+(?:-[A-Za-z0-9_-]{16})?)(\?.+)?$", ]