projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc8b61
)
[streamable] Add support for new embedded URL schema
author
Lucas M
<lawlmart@users.noreply.github.com>
Wed, 26 Apr 2017 16:39:53 +0000
(12:39 -0400)
committer
Sergey M
<dstftw@gmail.com>
Wed, 26 Apr 2017 16:39:53 +0000
(23:39 +0700)
youtube_dl/extractor/streamable.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/streamable.py
b/youtube_dl/extractor/streamable.py
index 9f5c237efc9283a9d59667b843268c31769ba11c..34725274e4148a1df3d2e3468600cb1c3eafedbd 100644
(file)
--- 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,
}
]