mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 07:12:41 +00:00
ComedyCentralIE: support the extended interviews urls (fixes #1079)
This commit is contained in:
parent
d7ae0639b4
commit
ddbfd0f0c5
1 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,9 @@ class ComedyCentralIE(InfoExtractor):
|
||||||
(full-episodes/(?P<episode>.*)|
|
(full-episodes/(?P<episode>.*)|
|
||||||
(?P<clip>
|
(?P<clip>
|
||||||
(the-colbert-report-(videos|collections)/(?P<clipID>[0-9]+)/[^/]*/(?P<cntitle>.*?))
|
(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 = {
|
_TEST = {
|
||||||
u'url': u'http://www.thedailyshow.com/watch/thu-december-13-2012/kristen-stewart',
|
u'url': u'http://www.thedailyshow.com/watch/thu-december-13-2012/kristen-stewart',
|
||||||
|
@ -87,6 +89,9 @@ class ComedyCentralIE(InfoExtractor):
|
||||||
else:
|
else:
|
||||||
epTitle = mobj.group('cntitle')
|
epTitle = mobj.group('cntitle')
|
||||||
dlNewest = False
|
dlNewest = False
|
||||||
|
elif mobj.group('interview'):
|
||||||
|
epTitle = mobj.group('interview_title')
|
||||||
|
dlNewest = False
|
||||||
else:
|
else:
|
||||||
dlNewest = not mobj.group('episode')
|
dlNewest = not mobj.group('episode')
|
||||||
if dlNewest:
|
if dlNewest:
|
||||||
|
|
Loading…
Reference in a new issue