aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/comedycentral.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:46:46 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-27 20:46:46 +0200
commit6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c (patch)
tree5858b022ee180d96bbb57ca5c2fb827222c83f8d /youtube_dl/extractor/comedycentral.py
parentddbd9035764678fbd698a8e5358a8cfbdfe0dfe9 (diff)
downloadyoutube-dl-6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c.tar.xz
Move tests to the IE definitions
Diffstat (limited to 'youtube_dl/extractor/comedycentral.py')
-rw-r--r--youtube_dl/extractor/comedycentral.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py
index 6985e88f0..d9337f8a1 100644
--- a/youtube_dl/extractor/comedycentral.py
+++ b/youtube_dl/extractor/comedycentral.py
@@ -27,6 +27,17 @@ class ComedyCentralIE(InfoExtractor):
(the-colbert-report-(videos|collections)/(?P<clipID>[0-9]+)/[^/]*/(?P<cntitle>.*?))
|(watch/(?P<date>[^/]*)/(?P<tdstitle>.*)))))
$"""
+ _TEST = {
+ u'url': u'http://www.thedailyshow.com/watch/thu-december-13-2012/kristen-stewart',
+ u'file': u'422212.mp4',
+ u'md5': u'4e2f5cb088a83cd8cdb7756132f9739d',
+ u'info_dict': {
+ u"upload_date": u"20121214",
+ u"description": u"Kristen Stewart",
+ u"uploader": u"thedailyshow",
+ u"title": u"thedailyshow-kristen-stewart part 1"
+ }
+ }
_available_formats = ['3500', '2200', '1700', '1200', '750', '400']