1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 05:02:50 +08:00

Updated limelight tests for null pc playlist

This commit is contained in:
Simon Carpentier 2018-01-02 10:39:23 -05:00 committed by GitHub
parent ca09b12c57
commit 2fb4d51a00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,7 +327,7 @@ class LimelightChannelIE(LimelightBaseIE):
entries = [ entries = [
self._extract_info( self._extract_info(
pc['playlistItems'][i].get('streams', []), pc['playlistItems'][i].get('streams', []) if pc else [],
mobile['mediaList'][i].get('mobileUrls', []) if mobile else [], mobile['mediaList'][i].get('mobileUrls', []) if mobile else [],
medias['media_list'][i]) medias['media_list'][i])
for i in range(len(medias['media_list']))] for i in range(len(medias['media_list']))]