Ver Fonte

[camdemy] Fix _VALID_URL

Sergey M․ há 10 anos atrás
pai
commit
037e9437e4
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      youtube_dl/extractor/camdemy.py

+ 1 - 1
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/',