[camdemy] Fix _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Fri, 13 Feb 2015 14:10:42 +0000 (20:10 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 13 Feb 2015 14:10:42 +0000 (20:10 +0600)
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/',