From 5e7d8d39638db6ddca1633b6e115d5f6555de59e Mon Sep 17 00:00:00 2001 From: Peter Bhat Harkins Date: Sun, 2 Dec 2018 13:00:36 -0600 Subject: [PATCH 1/2] support align.ustream.tv domain --- youtube_dl/extractor/ustream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ustream.py b/youtube_dl/extractor/ustream.py index 5737d4d16..a51583920 100644 --- a/youtube_dl/extractor/ustream.py +++ b/youtube_dl/extractor/ustream.py @@ -19,7 +19,7 @@ from ..utils import ( class UstreamIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?ustream\.tv/(?Precorded|embed|embed/recorded)/(?P\d+)' + _VALID_URL = r'https?://(?:www\.|align\.)?ustream\.tv/(?Precorded|embed|embed/recorded)/(?P\d+)' IE_NAME = 'ustream' _TESTS = [{ 'url': 'http://www.ustream.tv/recorded/20274954', From ed431bac169b1fc8f05530eea0cba1e2ee09cecb Mon Sep 17 00:00:00 2001 From: Peter Bhat Harkins Date: Sun, 2 Dec 2018 13:05:30 -0600 Subject: [PATCH 2/2] channels on align.ustream.tv --- youtube_dl/extractor/ustream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ustream.py b/youtube_dl/extractor/ustream.py index a51583920..c1ec7f557 100644 --- a/youtube_dl/extractor/ustream.py +++ b/youtube_dl/extractor/ustream.py @@ -244,7 +244,7 @@ class UstreamIE(InfoExtractor): class UstreamChannelIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?ustream\.tv/channel/(?P.+)' + _VALID_URL = r'https?://(?:www\.|align\.)?ustream\.tv/channel/(?P.+)' IE_NAME = 'ustream:channel' _TEST = { 'url': 'http://www.ustream.tv/channel/channeljapan',