[ooyala] add support for geo verification proxy
authorRemita Amine <remitamine@gmail.com>
Mon, 22 Apr 2019 09:04:56 +0000 (10:04 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 22 Apr 2019 09:04:56 +0000 (10:04 +0100)
youtube_dl/extractor/ooyala.py

index ad8bf03f86a8bf3511fdc864ba462337f7bb51ec..e42d67df9a426bc249c702f0d90a8cfbd59e435b 100644 (file)
@@ -36,7 +36,7 @@ class OoyalaBaseIE(InfoExtractor):
                 'domain': domain,
                 'supportedFormats': supportedformats or 'mp4,rtmp,m3u8,hds,dash,smooth',
                 'embedToken': embed_token,
-            }), video_id)
+            }), video_id, headers=self.geo_verification_headers())
 
         cur_auth_data = auth_data['authorization_data'][embed_code]