Browse Source

plugins.twitch: fix pluginmatcher regex

pull/4294/head
bastimeyer 2 weeks ago
committed by back-to
parent
commit
e4b0813e93
  1. 4
      src/streamlink/plugins/twitch.py

4
src/streamlink/plugins/twitch.py

@ -462,11 +462,11 @@ class TwitchAPI:
(?:
videos/(?P<videos_id>\d+)
|
(?P<channel>[^/]+)
(?P<channel>[^/?]+)
(?:
/video/(?P<video_id>\d+)
|
/clip/(?P<clip_name>[\w-]+)
/clip/(?P<clip_name>[^/?]+)
)?
)
""", re.VERBOSE))

Loading…
Cancel
Save