diff options
author | zurfyx <zurfyx@gmail.com> | 2016-11-19 19:23:49 +0100 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-11-24 21:57:53 +0700 |
commit | b68599ed473c24477cefb3f09580e7a8cbb666d9 (patch) | |
tree | a089713fe50090ab6273ee33ec8c6374375d8ac1 /youtube_dl | |
parent | 44444f0d3ba8e448cc824d7722d865794fb6d5d3 (diff) |
[mitele] Relax _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/mitele.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mitele.py b/youtube_dl/extractor/mitele.py index c41ab1e91..48d94992c 100644 --- a/youtube_dl/extractor/mitele.py +++ b/youtube_dl/extractor/mitele.py @@ -75,7 +75,7 @@ class MiTeleBaseIE(InfoExtractor): class MiTeleIE(InfoExtractor): IE_DESC = 'mitele.es' - _VALID_URL = r'https?://(?:www\.)?mitele\.es/programas-tv/(?:[^/]+/)(?P<id>[^/]+)/player' + _VALID_URL = r'https?://(?:www\.)?mitele\.es/(?:[^/]+/)+(?P<id>[^/]+)/player' _TESTS = [{ 'url': 'http://www.mitele.es/programas-tv/diario-de/57b0dfb9c715da65618b4afa/player', @@ -109,6 +109,9 @@ class MiTeleIE(InfoExtractor): 'skip_download': True, }, 'add_ie': ['Ooyala'], + }, { + 'url': 'http://www.mitele.es/series-online/la-que-se-avecina/57aac5c1c915da951a8b45ed/player', + 'only_matching': True, }] def _real_extract(self, url): |