projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2fd09
)
[cbs] improve DRM protected videos detection(closes #21339)
author
Remita Amine
<remitamine@gmail.com>
Sat, 8 Jun 2019 23:12:51 +0000
(
00:12
+0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 8 Jun 2019 23:13:07 +0000
(
00:13
+0100)
youtube_dl/extractor/cbs.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cbs.py
b/youtube_dl/extractor/cbs.py
index 376db726326302972c7c7ab33b7d362fa1360e67..4a19a73d2fe70f6252960102e8b65f9c9d610e8a 100644
(file)
--- a/
youtube_dl/extractor/cbs.py
+++ b/
youtube_dl/extractor/cbs.py
@@
-69,7
+69,7
@@
class CBSIE(CBSBaseIE):
last_e = None
for item in items_data.findall('.//item'):
asset_type = xpath_text(item, 'assetType')
- if not asset_type or asset_type in asset_types or
asset_type in ('HLS_FPS', 'DASH_CENC')
:
+ if not asset_type or asset_type in asset_types or
'HLS_FPS' in asset_type or 'DASH_CENC' in asset_type
:
continue
asset_types.append(asset_type)
query = {