aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/hotnewhiphop.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-09-08 18:29:05 +0700
committerSergey M․ <dstftw@gmail.com>2016-09-14 22:47:21 +0700
commit925194022cd661747771e58bad41e5f7ae118999 (patch)
tree367c273cb380190c03cf5b2f87cb48ca38699bbe /youtube_dl/extractor/hotnewhiphop.py
parentb690ea15ebe7549854962f02987a8faaa6d41f53 (diff)
Improve some _VALID_URLs
Diffstat (limited to 'youtube_dl/extractor/hotnewhiphop.py')
-rw-r--r--youtube_dl/extractor/hotnewhiphop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/hotnewhiphop.py b/youtube_dl/extractor/hotnewhiphop.py
index 9db565209..34163725f 100644
--- a/youtube_dl/extractor/hotnewhiphop.py
+++ b/youtube_dl/extractor/hotnewhiphop.py
@@ -12,7 +12,7 @@ from ..utils import (
class HotNewHipHopIE(InfoExtractor):
- _VALID_URL = r'https?://www\.hotnewhiphop\.com/.*\.(?P<id>.*)\.html'
+ _VALID_URL = r'https?://(?:www\.)?hotnewhiphop\.com/.*\.(?P<id>.*)\.html'
_TEST = {
'url': 'http://www.hotnewhiphop.com/freddie-gibbs-lay-it-down-song.1435540.html',
'md5': '2c2cd2f76ef11a9b3b581e8b232f3d96',