[camdemy] Fix _VALID_URL
[youtube-dl] / youtube_dl / extractor / camdemy.py
index 5de5879b4481c9ff0f2aed69da9f6b1454b80110..897f3a104ce2d31aeac99e98197557ef502faf18 100644 (file)
@@ -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/',