mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 11:43:21 +08:00
Add new streamable URL format
This commit is contained in:
parent
011d1ab1be
commit
d44b84ed8a
@ -12,7 +12,7 @@ from ..utils import (
|
||||
|
||||
|
||||
class StreamableIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://streamable\.com/(?:e/)?(?P<id>\w+)'
|
||||
_VALID_URL = r'https?://streamable\.com/(?:e/|s/)?(?P<id>\w+)'
|
||||
_TESTS = [
|
||||
{
|
||||
'url': 'https://streamable.com/dnd1',
|
||||
@ -47,6 +47,10 @@ class StreamableIE(InfoExtractor):
|
||||
{
|
||||
'url': 'https://streamable.com/e/dnd1',
|
||||
'only_matching': True,
|
||||
},
|
||||
{
|
||||
'url': 'https://streamable.com/s/okkqk/ttrzdx',
|
||||
'only_matching': True,
|
||||
}
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user