aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/appletrailers.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-02-22 19:53:32 +0600
committerSergey M․ <[email protected]>2015-02-22 19:53:32 +0600
commitf311cfa23153fee51f94f14d1ab1f7f8b6a74702 (patch)
tree6c8ac42b10cc0443b1ee771004717452b1c2cc27 /youtube_dl/extractor/appletrailers.py
parente086e0eb6cef80db2d4ab44572a1a5d6b6f1dee0 (diff)
downloadyoutube-dl-f311cfa23153fee51f94f14d1ab1f7f8b6a74702.tar.gz
youtube-dl-f311cfa23153fee51f94f14d1ab1f7f8b6a74702.zip
[appletrailers] Extend _VALID_URL (Closes #5027)
Diffstat (limited to 'youtube_dl/extractor/appletrailers.py')
-rw-r--r--youtube_dl/extractor/appletrailers.py2
1 files changed, 1 insertions, 1 deletions
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<company>[^/]+)/(?P<movie>[^/]+)'
+ _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/(?:trailers|ca)/(?P<company>[^/]+)/(?P<movie>[^/]+)'
_TEST = {
"url": "http://trailers.apple.com/trailers/wb/manofsteel/",
'info_dict': {