mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 05:02:50 +08:00
Limelight extractor "pc" playlist might be null
This commit is contained in:
parent
7a6c204fcb
commit
ca09b12c57
@ -283,7 +283,7 @@ class LimelightMediaIE(LimelightBaseIE):
|
|||||||
smuggled_data.get('source_url'))
|
smuggled_data.get('source_url'))
|
||||||
|
|
||||||
return self._extract_info(
|
return self._extract_info(
|
||||||
pc['playlistItems'][0].get('streams', []),
|
pc['playlistItems'][0].get('streams', []) if pc else [],
|
||||||
mobile['mediaList'][0].get('mobileUrls', []) if mobile else [],
|
mobile['mediaList'][0].get('mobileUrls', []) if mobile else [],
|
||||||
metadata)
|
metadata)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user