]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vevo:playlist] Add fallback for playlist id
authorSergey M․ <dstftw@gmail.com>
Sun, 1 May 2016 21:29:48 +0000 (03:29 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 1 May 2016 21:29:48 +0000 (03:29 +0600)
youtube_dl/extractor/vevo.py

index 49cb3f479eda009ea984d4454c2fe3fcdb4f41fe..bbe29fc512a81e05396674cf79680ee6b0b09114 100644 (file)
@@ -423,5 +423,5 @@ class VevoPlaylistIE(VevoBaseIE):
             for src in playlist['isrcs']]
 
         return self.playlist_result(
-            entries, playlist.get('playlistId'),
+            entries, playlist.get('playlistId') or playlist_id,
             playlist.get('name'), playlist.get('description'))