aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/streamable.py
diff options
context:
space:
mode:
authorLucas M <[email protected]>2017-04-26 12:39:53 -0400
committerSergey M <[email protected]>2017-04-26 23:39:53 +0700
commite8bfe2a946eda74f16af8734c35fba8c223e41fa (patch)
tree0bdb79853aee7d97e75d615c24ef0719d543aed0 /youtube_dl/extractor/streamable.py
parent3dc8b61b7f5b455e4f82626b10776d669082460f (diff)
downloadyoutube-dl-e8bfe2a946eda74f16af8734c35fba8c223e41fa.tar.gz
youtube-dl-e8bfe2a946eda74f16af8734c35fba8c223e41fa.zip
[streamable] Add support for new embedded URL schema
Diffstat (limited to 'youtube_dl/extractor/streamable.py')
-rw-r--r--youtube_dl/extractor/streamable.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/streamable.py b/youtube_dl/extractor/streamable.py
index 9f5c237ef..34725274e 100644
--- a/youtube_dl/extractor/streamable.py
+++ b/youtube_dl/extractor/streamable.py
@@ -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/(?:[es]/)?(?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,
}
]