[aenetworks] extract http formats
authorremitamine <remitamine@gmail.com>
Fri, 12 Feb 2016 16:39:32 +0000 (17:39 +0100)
committerremitamine <remitamine@gmail.com>
Fri, 12 Feb 2016 16:39:32 +0000 (17:39 +0100)
youtube_dl/extractor/aenetworks.py

index 43d7b05231112a7abe0c73c637792910b3b265aa..e192b5ac5bb584b7117615184162dce14ff21427 100644 (file)
@@ -61,6 +61,6 @@ class AENetworksIE(InfoExtractor):
         info = self._search_json_ld(webpage, video_id, fatal=False)
         info.update({
             '_type': 'url_transparent',
-            'url': smuggle_url(video_url, {'sig': {'key': 'crazyjava', 'secret': 's3cr3t'}}),
+            'url': smuggle_url(video_url + '?mbr=true&format=SMIL&assetTypes=medium_video_s3', {'sig': {'key': 'crazyjava', 'secret': 's3cr3t'}, 'force_smil_url': True}),
         })
         return info