1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-09 00:15:13 +08:00

[SenateISVP] iframes can be https

This commit is contained in:
John Hawkinson
2017-03-20 11:28:53 -04:00
Unverified
parent 957f453429
commit 17aa397d16
+1 -1
View File
@@ -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')