From: Sergey M․ Date: Sun, 22 Feb 2015 13:53:32 +0000 (+0600) Subject: [appletrailers] Extend _VALID_URL (Closes #5027) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f311cfa23153fee51f94f14d1ab1f7f8b6a74702;p=youtube-dl [appletrailers] Extend _VALID_URL (Closes #5027) --- diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py index 43e82847f..9c718ea66 100644 --- a/youtube_dl/extractor/appletrailers.py +++ b/youtube_dl/extractor/appletrailers.py @@ -11,7 +11,7 @@ from ..utils import ( class AppleTrailersIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/trailers/(?P[^/]+)/(?P[^/]+)' + _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/(?:trailers|ca)/(?P[^/]+)/(?P[^/]+)' _TEST = { "url": "http://trailers.apple.com/trailers/wb/manofsteel/", 'info_dict': {