1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-21 17:51:51 +00:00

[common] skip Apple FairPlay m3u8 manifests(closes #14741)

This commit is contained in:
Remita Amine 2017-11-14 17:41:30 +01:00
parent a2b6aba8de
commit ea2295842f

View file

@ -1356,6 +1356,9 @@ class InfoExtractor(object):
if '#EXT-X-FAXS-CM:' in m3u8_doc: # Adobe Flash Access
return []
if re.search(r'#EXT-X-SESSION-KEY:.*?URI="skd://', m3u8_doc): # Apple FairPlay
return []
formats = []
format_url = lambda u: (