Add new streamable embedded url format

This commit is contained in:
lucas 2017-04-26 12:28:28 -04:00
parent 3dc8b61b7f
commit 15e46ed9c1

View File

@ -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/drxjds',
'only_matching': True,
}
]