From 8222df3670d21b4f822714a7655ee0bebb5cd5cf Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Fri, 7 Aug 2020 16:34:36 +0200 Subject: [PATCH] Allow numbers in clip slugs issue #24 --- twitchdl/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/twitchdl/commands.py b/twitchdl/commands.py index cfead30..174e724 100644 --- a/twitchdl/commands.py +++ b/twitchdl/commands.py @@ -168,9 +168,9 @@ VIDEO_PATTERNS = [ ] CLIP_PATTERNS = [ - r"^(?P[A-Za-z]+)$", - r"^https://www.twitch.tv/\w+/clip/(?P[A-Za-z]+)(\?.+)?$", - r"^https://clips.twitch.tv/(?P[A-Za-z]+)(\?.+)?$", + r"^(?P[A-Za-z0-9]+)$", + r"^https://www.twitch.tv/\w+/clip/(?P[A-Za-z0-9]+)(\?.+)?$", + r"^https://clips.twitch.tv/(?P[A-Za-z0-9]+)(\?.+)?$", ]