diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-08-04 16:36:48 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-08-04 16:36:48 +0200 |
commit | 39b782b390f4a57514466aa6e1793910a12b1e4b (patch) | |
tree | 597aae64d3c33dd9a8d6a933dff5ca1b65102145 | |
parent | 577664c8e8fd80f0155ef13cbb050139ffbe7a40 (diff) | |
download | youtube-dl-39b782b390f4a57514466aa6e1793910a12b1e4b.tar.gz youtube-dl-39b782b390f4a57514466aa6e1793910a12b1e4b.zip |
[collegehumor] support urls in the format www.collegehumor.com/e/{video_id} (fixes #1179)
-rw-r--r-- | youtube_dl/extractor/collegehumor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/collegehumor.py b/youtube_dl/extractor/collegehumor.py index 5badde03a..30b9c7549 100644 --- a/youtube_dl/extractor/collegehumor.py +++ b/youtube_dl/extractor/collegehumor.py @@ -10,7 +10,7 @@ from ..utils import ( class CollegeHumorIE(InfoExtractor): - _VALID_URL = r'^(?:https?://)?(?:www\.)?collegehumor\.com/(video|embed|e)/(?P<videoid>[0-9]+)/(?P<shorttitle>.*)$' + _VALID_URL = r'^(?:https?://)?(?:www\.)?collegehumor\.com/(video|embed|e)/(?P<videoid>[0-9]+)/?(?P<shorttitle>.*)$' _TEST = { u'url': u'http://www.collegehumor.com/video/6902724/comic-con-cosplay-catastrophe', |