youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 8a8cc339b6b5189b3c1fdb15ef7224c035b21a6b
parent 957f453429d584615ac4d2277caeb0d75d0fe1d9
Author: John Hawkinson <jhawk@mit.edu>
Date:   Mon, 20 Mar 2017 11:35:13 -0400

[senateisvp] Allow https URL scheme for embeds


Diffstat:
Myoutube_dl/extractor/senateisvp.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')