aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Van't Hof <alexvh@cs.columbia.edu>2013-07-24 00:48:11 -0400
committerAlex Van't Hof <alexvh@cs.columbia.edu>2013-07-24 00:48:11 -0400
commitb9a1252c9601db3e208eb76ab4c3d60f0fc1f7f2 (patch)
tree5f2317f6367988bdd537745b5f04d4cb55e018a9
parentfc492de31dfd8cc0a88988a0f2ea985a35d60975 (diff)
[traileraddict] Allow all types of trailer URLs
Valid url regex for traileraddict.com is too strict. Need to allow, e.g. theatrical-trailer, teaser-trailer, feature-read-band-trailer, etc.
-rw-r--r--youtube_dl/extractor/traileraddict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/traileraddict.py b/youtube_dl/extractor/traileraddict.py
index 324bb6231..6f2fc2394 100644
--- a/youtube_dl/extractor/traileraddict.py
+++ b/youtube_dl/extractor/traileraddict.py
@@ -4,7 +4,7 @@ from .common import InfoExtractor
class TrailerAddictIE(InfoExtractor):
- _VALID_URL = r'(?:http://)?(?:www\.)?traileraddict\.com/trailer/([^/]+)/(?:trailer|feature-trailer)'
+ _VALID_URL = r'(?:http://)?(?:www\.)?traileraddict\.com/trailer/([^/]+)/(?:[^/]*trailer[^/]*)'
_TEST = {
u'url': u'http://www.traileraddict.com/trailer/prince-avalanche/trailer',
u'file': u'76184.mp4',