diff options
author | Remita Amine <[email protected]> | 2017-12-12 11:11:44 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2017-12-12 11:11:44 +0100 |
commit | e6b8803d599df4de3c115e4de4ef192a1e10c749 (patch) | |
tree | c65c7b8ae06b6dde8dcfa069900563ee7d705b22 | |
parent | cb0c2310fbf232e09ae41013be3400034171d6d2 (diff) | |
download | youtube-dl-e6b8803d599df4de3c115e4de4ef192a1e10c749.tar.gz youtube-dl-e6b8803d599df4de3c115e4de4ef192a1e10c749.zip |
[toutv] add support special video urls(closes #14179)
-rw-r--r-- | youtube_dl/extractor/toutv.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/toutv.py b/youtube_dl/extractor/toutv.py index 17c0adc15..2e7876cc5 100644 --- 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): |