projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve some _VALID_URLs
[youtube-dl]
/
youtube_dl
/
extractor
/
telecinco.py
diff --git
a/youtube_dl/extractor/telecinco.py
b/youtube_dl/extractor/telecinco.py
index 2ecfd0405afa27d78f81fb0c4ba604d022798850..d5abfc9e44ec82b492fcd98d9e4429b40c5c05b9 100644
(file)
--- a/
youtube_dl/extractor/telecinco.py
+++ b/
youtube_dl/extractor/telecinco.py
@@
-6,7
+6,7
@@
from .mitele import MiTeleBaseIE
class TelecincoIE(MiTeleBaseIE):
IE_DESC = 'telecinco.es, cuatro.com and mediaset.es'
class TelecincoIE(MiTeleBaseIE):
IE_DESC = 'telecinco.es, cuatro.com and mediaset.es'
- _VALID_URL = r'https?://
www\.
(?:telecinco\.es|cuatro\.com|mediaset\.es)/(?:[^/]+/)+(?P<id>.+?)\.html'
+ _VALID_URL = r'https?://
(?:www\.)?
(?:telecinco\.es|cuatro\.com|mediaset\.es)/(?:[^/]+/)+(?P<id>.+?)\.html'
_TESTS = [{
'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html',
_TESTS = [{
'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html',