projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27694fe
)
[teamcoco] improve _VALID_URL regex(#16484)
author
Remita Amine
<remitamine@gmail.com>
Sat, 19 May 2018 11:19:05 +0000
(12:19 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 19 May 2018 11:19:05 +0000
(12:19 +0100)
youtube_dl/extractor/teamcoco.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/teamcoco.py
b/youtube_dl/extractor/teamcoco.py
index f06e5b19ac675a975ecc0a1f5cfca23a93a64bfa..64235b0f6c1433212de64aaec97532ba35a2bf24 100644
(file)
--- a/
youtube_dl/extractor/teamcoco.py
+++ b/
youtube_dl/extractor/teamcoco.py
@@
-16,7
+16,7
@@
from ..utils import (
class TeamcocoIE(InfoExtractor):
- _VALID_URL = r'https?://teamcoco\.com/video/(?P<id>[^/?#]+)'
+ _VALID_URL = r'https?://teamcoco\.com/video/(?P<id>
([^/]+/)*
[^/?#]+)'
_TESTS = [
{
'url': 'http://teamcoco.com/video/mary-kay-remote',
@@
-67,6
+67,9
@@
class TeamcocoIE(InfoExtractor):
'skip_download': True, # m3u8 downloads
},
'skip': 'This video is no longer available.',
+ }, {
+ 'url': 'http://teamcoco.com/video/the-conan-audiencey-awards-for-04/25/18',
+ 'only_matching': True,
}
]