From d44b84ed8ad75d454efc7c90c3d245bdfa240b1a Mon Sep 17 00:00:00 2001 From: lucas Date: Wed, 26 Apr 2017 11:02:55 -0400 Subject: [PATCH] Add new streamable URL format --- youtube_dl/extractor/streamable.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/streamable.py b/youtube_dl/extractor/streamable.py index 9f5c237ef..8af681800 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\w+)' + _VALID_URL = r'https?://streamable\.com/(?:e/|s/)?(?P\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, } ]