logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 3545d38bfba40ab1ccc5f73b08b18709c580a180
parent 2309d6bf92435e2c9a0a9a3ebca7e15f68651225
Author: Remita Amine <remitamine@gmail.com>
Date:   Sat, 27 Apr 2019 10:32:53 +0100

[sixplay] add missing parenthesis

Diffstat:

Myoutube_dl/extractor/sixplay.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/sixplay.py b/youtube_dl/extractor/sixplay.py @@ -65,7 +65,7 @@ class SixPlayIE(InfoExtractor): for asset in assets: asset_url = asset.get('full_physical_path') protocol = asset.get('protocol') - if not asset_url or (protocol == 'primetime' or asset.get('type') == 'usp_hlsfp_h264') and not ('_drmnp.ism/' in asset_url or '_unpnp.ism/' in asset_url) or asset_url in urls: + if not asset_url or ((protocol == 'primetime' or asset.get('type') == 'usp_hlsfp_h264') and not ('_drmnp.ism/' in asset_url or '_unpnp.ism/' in asset_url)) or asset_url in urls: continue urls.append(asset_url) container = asset.get('video_container')