aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-11 13:51:47 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-11 13:53:05 +0200
commitb9c76aa1a9c80013ad4f2f3cd20b98ab1be430ac (patch)
tree244908491027e0a0680aadb73e0c00614b1bcb57 /youtube_dl/extractor/youtube.py
parent0d3070d36438eeefbfb3cd6a3f792767b4d99d93 (diff)
[youtube] Add support for cleanvideosearch.com (Fixes #2734)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 334a61833..ac2d5db4e 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -151,6 +151,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
)
))
|youtu\.be/ # just youtu.be/xxxx
+ |https?://(?:www\.)?cleanvideosearch\.com/media/action/yt/watch\?videoId=
)
)? # all until now is optional -> you can pass the naked ID
([0-9A-Za-z_-]{11}) # here is it! the YouTube video ID