aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-09 21:34:47 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-09 21:34:47 +0700
commitb0aebe702c538010fd92cd0807963293f112adcd (patch)
tree8e3dfda8054f30deda7c112e80e9728f8d69da74 /youtube_dl
parent416878f41f3b33cf1b10b0b30093dcd7a90bdbfd (diff)
[godtv] Relax _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/godtv.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/godtv.py b/youtube_dl/extractor/godtv.py
index 7deca00aa..c5d3b4e6a 100644
--- a/youtube_dl/extractor/godtv.py
+++ b/youtube_dl/extractor/godtv.py
@@ -6,7 +6,7 @@ from ..utils import js_to_json
class GodTVIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?god\.tv(?:/[^/]+)+/(?P<id>[^/?#&]+)'
+ _VALID_URL = r'https?://(?:www\.)?god\.tv(?:/[^/]+)*/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'http://god.tv/jesus-image/video/jesus-conference-2016/randy-needham',
'info_dict': {
@@ -30,6 +30,9 @@ class GodTVIE(InfoExtractor):
}, {
'url': 'http://god.tv/live/africa',
'only_matching': True,
+ }, {
+ 'url': 'http://god.tv/liveevents',
+ 'only_matching': True,
}]
def _real_extract(self, url):