diff options
author | Rogério Brito <rbrito@ime.usp.br> | 2013-08-06 17:36:01 -0300 |
---|---|---|
committer | Rogério Brito <rbrito@ime.usp.br> | 2013-08-06 17:36:01 -0300 |
commit | 33cd347759d6d999325ebf3c69b7ed5692c343b2 (patch) | |
tree | 797fca8b904cd7a72e11b41736b86ee716a43006 /youtube_dl/extractor/comedycentral.py | |
parent | 975f9519f0ae48e780767bf543204c6626a493b0 (diff) | |
download | youtube-dl-33cd347759d6d999325ebf3c69b7ed5692c343b2.zip youtube-dl-33cd347759d6d999325ebf3c69b7ed5692c343b2.tar.gz youtube-dl-33cd347759d6d999325ebf3c69b7ed5692c343b2.tar.bz2 |
Imported Upstream version 2013.08.02
Diffstat (limited to 'youtube_dl/extractor/comedycentral.py')
-rw-r--r-- | youtube_dl/extractor/comedycentral.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py index 93d9e3d..bf8d711 100644 --- a/youtube_dl/extractor/comedycentral.py +++ b/youtube_dl/extractor/comedycentral.py @@ -24,7 +24,9 @@ class ComedyCentralIE(InfoExtractor): (full-episodes/(?P<episode>.*)| (?P<clip> (the-colbert-report-(videos|collections)/(?P<clipID>[0-9]+)/[^/]*/(?P<cntitle>.*?)) - |(watch/(?P<date>[^/]*)/(?P<tdstitle>.*))))) + |(watch/(?P<date>[^/]*)/(?P<tdstitle>.*)))| + (?P<interview> + extended-interviews/(?P<interID>[0-9]+)/playlist_tds_extended_(?P<interview_title>.*?)/.*?))) $""" _TEST = { u'url': u'http://www.thedailyshow.com/watch/thu-december-13-2012/kristen-stewart', @@ -87,6 +89,9 @@ class ComedyCentralIE(InfoExtractor): else: epTitle = mobj.group('cntitle') dlNewest = False + elif mobj.group('interview'): + epTitle = mobj.group('interview_title') + dlNewest = False else: dlNewest = not mobj.group('episode') if dlNewest: |