Browse Source

[godtv] Relax _VALID_URL

master
Sergey M․ 8 years ago
parent
commit
b0aebe702c
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 4 additions and 1 deletions
  1. 5
      youtube_dl/extractor/godtv.py

5
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):

Loading…
Cancel
Save