projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0c231
)
[toutv] add support special video urls(closes #14179)
author
Remita Amine
<remitamine@gmail.com>
Tue, 12 Dec 2017 10:11:44 +0000
(11:11 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 12 Dec 2017 10:11:44 +0000
(11:11 +0100)
youtube_dl/extractor/toutv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/toutv.py
b/youtube_dl/extractor/toutv.py
index 17c0adc15a5f06d1debe18d0667aa51ed7678392..2e7876cc5b392be0f6524744c676664d66c2b5f8 100644
(file)
--- a/
youtube_dl/extractor/toutv.py
+++ b/
youtube_dl/extractor/toutv.py
@@
-16,7
+16,7
@@
from ..utils import (
class TouTvIE(InfoExtractor):
_NETRC_MACHINE = 'toutv'
IE_NAME = 'tou.tv'
- _VALID_URL = r'https?://ici\.tou\.tv/(?P<id>[a-zA-Z0-9_-]+(?:/S[0-9]+
E
[0-9]+)?)'
+ _VALID_URL = r'https?://ici\.tou\.tv/(?P<id>[a-zA-Z0-9_-]+(?:/S[0-9]+
[EC]
[0-9]+)?)'
_access_token = None
_claims = None
@@
-37,6
+37,9
@@
class TouTvIE(InfoExtractor):
}, {
'url': 'http://ici.tou.tv/hackers',
'only_matching': True,
+ }, {
+ 'url': 'https://ici.tou.tv/l-age-adulte/S01C501',
+ 'only_matching': True,
}]
def _real_initialize(self):