mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[streamable] Add support for new embedded URL schema
This commit is contained in:
parent
3dc8b61b7f
commit
e8bfe2a946
|
@ -12,7 +12,7 @@ from ..utils import (
|
||||||
|
|
||||||
|
|
||||||
class StreamableIE(InfoExtractor):
|
class StreamableIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://streamable\.com/(?:e/)?(?P<id>\w+)'
|
_VALID_URL = r'https?://streamable\.com/(?:[es]/)?(?P<id>\w+)'
|
||||||
_TESTS = [
|
_TESTS = [
|
||||||
{
|
{
|
||||||
'url': 'https://streamable.com/dnd1',
|
'url': 'https://streamable.com/dnd1',
|
||||||
|
@ -47,6 +47,10 @@ class StreamableIE(InfoExtractor):
|
||||||
{
|
{
|
||||||
'url': 'https://streamable.com/e/dnd1',
|
'url': 'https://streamable.com/e/dnd1',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'url': 'https://streamable.com/s/okkqk/drxjds',
|
||||||
|
'only_matching': True,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue