about summary refs log tree commit diff
path: root/youtube_dl/extractor/camdemy.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-02-13 20:10:42 +0600
committerSergey M․ <dstftw@gmail.com>2015-02-13 20:10:42 +0600
commit037e9437e435f32d287354c77f6586d7dc34544b (patch)
tree903e7f9557917bce4de79b9a8ee62da6843f6d72 /youtube_dl/extractor/camdemy.py
parent36e7a4ca2e85be8dc16955e28f9c563e01aa9eca (diff)
downloadyoutube-dl-037e9437e435f32d287354c77f6586d7dc34544b.tar.gz
youtube-dl-037e9437e435f32d287354c77f6586d7dc34544b.tar.xz
youtube-dl-037e9437e435f32d287354c77f6586d7dc34544b.zip
[camdemy] Fix _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/camdemy.py')
-rw-r--r--youtube_dl/extractor/camdemy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/camdemy.py b/youtube_dl/extractor/camdemy.py
index 5de5879b4..897f3a104 100644
--- a/youtube_dl/extractor/camdemy.py
+++ b/youtube_dl/extractor/camdemy.py
@@ -16,7 +16,7 @@ from ..utils import (
 
 
 class CamdemyIE(InfoExtractor):
-    _VALID_URL = r'http://www.camdemy.com/media/(?P<id>\d+)'
+    _VALID_URL = r'http://(?:www\.)?camdemy\.com/media/(?P<id>\d+)'
     _TESTS = [{
         # single file
         'url': 'http://www.camdemy.com/media/5181/',