From: John Hawkinson Date: Mon, 20 Mar 2017 15:35:13 +0000 (-0400) Subject: [senateisvp] Allow https URL scheme for embeds X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=8a8cc339b6b5189b3c1fdb15ef7224c035b21a6b;p=youtube-dl.git [senateisvp] Allow https URL scheme for embeds --- 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"]+src=['\"](?Phttp://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]", + r"]+src=['\"](?Phttps?://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]", webpage) if mobj: return mobj.group('url')