[comedycentral:shows] Do no include 6-digit identifier in display ID
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 3 Apr 2014 16:39:00 +0000 (18:39 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 3 Apr 2014 16:39:00 +0000 (18:39 +0200)
youtube_dl/extractor/comedycentral.py

index 38577243caa475ca8f5028407e53c51d0e061487..0c99887a2e4ef7f3d1b2a75f605553119da16b3b 100644 (file)
@@ -41,7 +41,7 @@ class ComedyCentralShowsIE(InfoExtractor):
     _VALID_URL = r'''(?x)^(:(?P<shortname>tds|thedailyshow|cr|colbert|colbertnation|colbertreport)
                       |https?://(:www\.)?
                           (?P<showname>thedailyshow|thecolbertreport)\.(?:cc\.)?com/
-                         (full-episodes/(?P<episode>.*)|
+                         (full-episodes/(?:[0-9a-z]{6}/)?(?P<episode>.*)|
                           (?P<clip>
                               (?:(?:guests/[^/]+|videos)/[^/]+/(?P<videotitle>[^/?#]+))
                               |(the-colbert-report-(videos|collections)/(?P<clipID>[0-9]+)/[^/]*/(?P<cntitle>.*?))