Browse Source

[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.
master
Alex Van't Hof 11 years ago
parent
commit
b9a1252c96
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/traileraddict.py

2
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',

Loading…
Cancel
Save