projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44444f0
)
[mitele] Relax _VALID_URL
author
zurfyx
<zurfyx@gmail.com>
Sat, 19 Nov 2016 18:23:49 +0000
(19:23 +0100)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 24 Nov 2016 14:57:53 +0000
(21:57 +0700)
youtube_dl/extractor/mitele.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mitele.py
b/youtube_dl/extractor/mitele.py
index c41ab1e91a7a2dd5655fcef7230e5ceadd305648..48d94992c8104b6aa2d52740c5889c03f24057a3 100644
(file)
--- 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'
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',
_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'],
'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):
}]
def _real_extract(self, url):