Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13d984d commit e52f007Copy full SHA for e52f007
2 files changed
src/streamlink/plugins/twitch.py
@@ -513,7 +513,7 @@ class Twitch(Plugin):
513
(?:
514
/video/(?P<video_id>\d+)
515
|
516
- /clip/(?P<clip_name>[\w]+)
+ /clip/(?P<clip_name>[\w-]+)
517
)?
518
)
519
""", re.VERBOSE)
tests/plugins/test_twitch.py
@@ -18,6 +18,7 @@ class TestPluginCanHandleUrlTwitch(PluginCanHandleUrl):
18
'https://www.twitch.tv/twitch',
19
'https://www.twitch.tv/videos/150942279',
20
'https://clips.twitch.tv/ObservantBenevolentCarabeefPhilosoraptor',
21
+ 'https://www.twitch.tv/weplaydota/clip/FurryIntelligentDonutAMPEnergyCherry-akPRxv7Y3w58WmFq'
22
'https://www.twitch.tv/twitch/video/292713971',
23
'https://www.twitch.tv/twitch/v/292713971',
24
]
0 commit comments