mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-15 14:05:17 +00:00
Cleanup some code and fix typos
:ci skip dl
This commit is contained in:
@@ -96,7 +96,9 @@ class LimelightBaseIE(InfoExtractor):
|
||||
urls = []
|
||||
for stream in pc_item.get('streams', []):
|
||||
stream_url = stream.get('url')
|
||||
if not stream_url or (not self._downloader.params.get('allow_unplayable_formats') and stream.get('drmProtected')) or stream_url in urls:
|
||||
if not stream_url or stream_url in urls:
|
||||
continue
|
||||
if not self._downloader.params.get('allow_unplayable_formats') and stream.get('drmProtected'):
|
||||
continue
|
||||
urls.append(stream_url)
|
||||
ext = determine_ext(stream_url)
|
||||
|
||||
Reference in New Issue
Block a user