aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawkinson <jhawk@mit.edu>2017-03-20 11:35:13 -0400
committerSergey M <dstftw@gmail.com>2017-03-20 23:35:13 +0800
commit8a8cc339b6b5189b3c1fdb15ef7224c035b21a6b (patch)
tree2f064a6d0eed608b904af06eac99af1552255558
parent957f453429d584615ac4d2277caeb0d75d0fe1d9 (diff)
[senateisvp] Allow https URL scheme for embeds
-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 387a4f7f6..db5ef8b57 100644
--- a/youtube_dl/extractor/senateisvp.py
+++ b/youtube_dl/extractor/senateisvp.py
@@ -89,7 +89,7 @@ class SenateISVPIE(InfoExtractor):
@staticmethod
def _search_iframe_url(webpage):
mobj = re.search(
- r"<iframe[^>]+src=['\"](?P<url>http://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]",
+ r"<iframe[^>]+src=['\"](?P<url>https?://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]",
webpage)
if mobj:
return mobj.group('url')