0
0
Fork 0

[senateisvp] Allow https URL scheme for embeds

main
John Hawkinson 2017-03-20 11:35:13 -04:00 committed by Sergey M
parent 957f453429
commit 8a8cc339b6
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class SenateISVPIE(InfoExtractor):
@staticmethod @staticmethod
def _search_iframe_url(webpage): def _search_iframe_url(webpage):
mobj = re.search( mobj = re.search(
r"<iframe[^>]+src=['\"](?P<url>http://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]", r"<iframe[^>]+src=['\"](?P<url>https?://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]",
webpage) webpage)
if mobj: if mobj:
return mobj.group('url') return mobj.group('url')