From 25571068aef9bb68fdefc40e5f3c114207708a33 Mon Sep 17 00:00:00 2001 From: PC Date: Sat, 10 Oct 2015 19:51:58 +0100 Subject: [PATCH] consider all iol.pt pages as download matches --- youtube_dl/extractor/iol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/iol.py b/youtube_dl/extractor/iol.py index f0b000870..0da8097bb 100644 --- a/youtube_dl/extractor/iol.py +++ b/youtube_dl/extractor/iol.py @@ -7,7 +7,7 @@ import re class IOLIE(InfoExtractor): - _VALID_URL = r'http://(tviplayer|(www\.tvi24))\.iol\.pt/.*/(?P[0-9a-f]{24})($|\/)' + _VALID_URL = r'http://[^/]*\.iol\.pt/.*/(?P[0-9a-f]{24})($|\/)' _TESTS = [{ 'url': 'http://tviplayer.iol.pt/programa/euromilhoes/53c6b3153004dc006243b07b/video/55f878f90cf203f8b03cea6d', 'md5': '983ca0edae370af67c458c6e5a71aae5',