X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/540fd68c40df72763aee5d75598675c45cfa9aba..14111bdbc4a22585fc51fd4efa3572ea003b5321:/youtube_dl/extractor/udn.py?ds=inline diff --git a/youtube_dl/extractor/udn.py b/youtube_dl/extractor/udn.py index c08428a..ee35b72 100644 --- a/youtube_dl/extractor/udn.py +++ b/youtube_dl/extractor/udn.py @@ -11,7 +11,9 @@ from ..compat import compat_urlparse class UDNEmbedIE(InfoExtractor): - _VALID_URL = r'https?://video\.udn\.com/(?:embed|play)/news/(?P\d+)' + IE_DESC = '聯合影音' + _PROTOCOL_RELATIVE_VALID_URL = r'//video\.udn\.com/(?:embed|play)/news/(?P\d+)' + _VALID_URL = r'https?:' + _PROTOCOL_RELATIVE_VALID_URL _TESTS = [{ 'url': 'http://video.udn.com/embed/news/300040', 'md5': 'de06b4c90b042c128395a88f0384817e',