projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957f453
)
[senateisvp] Allow https URL scheme for embeds
author
John Hawkinson
<jhawk@mit.edu>
Mon, 20 Mar 2017 15:35:13 +0000
(11:35 -0400)
committer
Sergey M
<dstftw@gmail.com>
Mon, 20 Mar 2017 15:35:13 +0000
(23:35 +0800)
youtube_dl/extractor/senateisvp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/senateisvp.py
b/youtube_dl/extractor/senateisvp.py
index 387a4f7f6952adcb6d1954106ce580f44cde6e6f..db5ef8b57bba44449cef02bd17eb9dc363c56b15 100644
(file)
--- 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>http
s?
://www\.senate\.gov/isvp/?\?[^'\"]+)['\"]",
webpage)
if mobj:
return mobj.group('url')