]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/senateisvp.py
Merge tag 'upstream/2017.05.18.1'
[youtubedl] / youtube_dl / extractor / senateisvp.py
index 387a4f7f6952adcb6d1954106ce580f44cde6e6f..db5ef8b57bba44449cef02bd17eb9dc363c56b15 100644 (file)
@@ -89,7 +89,7 @@ class SenateISVPIE(InfoExtractor):
     @staticmethod
     def _search_iframe_url(webpage):
         mobj = re.search(
     @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')
             webpage)
         if mobj:
             return mobj.group('url')