summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-09-18 18:56:02 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-09-18 18:56:02 +0200
commit37bfe8ace4dcd1b476a54aedb7f39b88e7bb527e (patch)
tree37833afd24e3324ce87aeae6f6974fbd32e784a3
parent0529eef5a4513d8f3c042f09fe5485e1c41e2f08 (diff)
downloadyoutube-dl-37bfe8ace4dcd1b476a54aedb7f39b88e7bb527e.tar.gz
youtube-dl-37bfe8ace4dcd1b476a54aedb7f39b88e7bb527e.tar.xz
youtube-dl-37bfe8ace4dcd1b476a54aedb7f39b88e7bb527e.zip
[hypestat] Match URLs with www. and https://
-rw-r--r--youtube_dl/extractor/hypestat.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/hypestat.py b/youtube_dl/extractor/hypestat.py
index 8b8db30ae..e1a142268 100644
--- a/youtube_dl/extractor/hypestat.py
+++ b/youtube_dl/extractor/hypestat.py
@@ -13,7 +13,7 @@ from ..utils import (
 
 class HypestatIE(InfoExtractor):
     IE_DESC = 'allmyvideos.net and vidspot.net'
-    _VALID_URL = r'https?://(?:allmyvideos|vidspot)\.net/(?P<id>[a-zA-Z0-9_-]+)'
+    _VALID_URL = r'https?://(?:www\.)?(?:allmyvideos|vidspot)\.net/(?P<id>[a-zA-Z0-9_-]+)'
 
     _TESTS = [{
         'url': 'http://allmyvideos.net/jih3nce3x6wn',
@@ -31,6 +31,9 @@ class HypestatIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'youtube-dl test video',
         },
+    }, {
+        'url': 'https://www.vidspot.net/l2ngsmhs8ci5',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):