1
0
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:
Simon Carpentier 2018-01-02 10:37:55 -05:00 committed by GitHub
parent 7a6c204fcb
commit ca09b12c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)