mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-14 13:35:15 +00:00
Fix some m3u8 not obeying --allow-unplayable-formats
This commit is contained in:
@@ -1889,7 +1889,8 @@ class InfoExtractor(object):
|
|||||||
if '#EXT-X-FAXS-CM:' in m3u8_doc: # Adobe Flash Access
|
if '#EXT-X-FAXS-CM:' in m3u8_doc: # Adobe Flash Access
|
||||||
return []
|
return []
|
||||||
|
|
||||||
if re.search(r'#EXT-X-SESSION-KEY:.*?URI="skd://', m3u8_doc): # Apple FairPlay
|
if (not self._downloader.params.get('allow_unplayable_formats')
|
||||||
|
and re.search(r'#EXT-X-SESSION-KEY:.*?URI="skd://', m3u8_doc)): # Apple FairPlay
|
||||||
return []
|
return []
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
|
|||||||
Reference in New Issue
Block a user