aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/senateisvp.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/senateisvp.py
parentb690ea15ebe7549854962f02987a8faaa6d41f53 (diff)
Improve some _VALID_URLs
Diffstat (limited to 'youtube_dl/extractor/senateisvp.py')
-rw-r--r--youtube_dl/extractor/senateisvp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/senateisvp.py b/youtube_dl/extractor/senateisvp.py
index c5f474dd1..35540c082 100644
--- a/youtube_dl/extractor/senateisvp.py
+++ b/youtube_dl/extractor/senateisvp.py
@@ -48,7 +48,7 @@ class SenateISVPIE(InfoExtractor):
['arch', '', 'http://ussenate-f.akamaihd.net/']
]
_IE_NAME = 'senate.gov'
- _VALID_URL = r'https?://www\.senate\.gov/isvp/?\?(?P<qs>.+)'
+ _VALID_URL = r'https?://(?:www\.)?senate\.gov/isvp/?\?(?P<qs>.+)'
_TESTS = [{
'url': 'http://www.senate.gov/isvp/?comm=judiciary&type=live&stt=&filename=judiciary031715&auto_play=false&wmode=transparent&poster=http%3A%2F%2Fwww.judiciary.senate.gov%2Fthemes%2Fjudiciary%2Fimages%2Fvideo-poster-flash-fit.png',
'info_dict': {