about summary refs log tree commit diff
path: root/youtube_dl/extractor/goshgay.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/goshgay.py
parentb690ea15ebe7549854962f02987a8faaa6d41f53 (diff)
downloadyoutube-dl-925194022cd661747771e58bad41e5f7ae118999.tar.gz
youtube-dl-925194022cd661747771e58bad41e5f7ae118999.tar.xz
youtube-dl-925194022cd661747771e58bad41e5f7ae118999.zip
Improve some _VALID_URLs
Diffstat (limited to 'youtube_dl/extractor/goshgay.py')
-rw-r--r--youtube_dl/extractor/goshgay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/goshgay.py b/youtube_dl/extractor/goshgay.py
index 0c015141f..a43abd154 100644
--- a/youtube_dl/extractor/goshgay.py
+++ b/youtube_dl/extractor/goshgay.py
@@ -11,7 +11,7 @@ from ..utils import (
 
 
 class GoshgayIE(InfoExtractor):
-    _VALID_URL = r'https?://www\.goshgay\.com/video(?P<id>\d+?)($|/)'
+    _VALID_URL = r'https?://(?:www\.)?goshgay\.com/video(?P<id>\d+?)($|/)'
     _TEST = {
         'url': 'http://www.goshgay.com/video299069/diesel_sfw_xxx_video',
         'md5': '4b6db9a0a333142eb9f15913142b0ed1',