aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-09 19:18:50 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-09 19:18:50 +0600
commit98044462b1035000a44b35a41f4f780b2e844f2e (patch)
tree3e49ff917a3c2823704776420bc1ec45d72ce960 /youtube_dl/extractor/common.py
parent0dcb318f622d944ad0f5c23c32c9bc9b00e76aaa (diff)
[extractor/common] Use playlist id as default title
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 9b4775e0a..be91e03e9 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -1157,7 +1157,7 @@ class InfoExtractor(object):
entries = []
for track in playlist.findall(xpath_with_ns('./xspf:trackList/xspf:track', NS_MAP)):
title = xpath_text(
- track, xpath_with_ns('./xspf:title', NS_MAP), 'title')
+ track, xpath_with_ns('./xspf:title', NS_MAP), 'title', default=playlist_id)
description = xpath_text(
track, xpath_with_ns('./xspf:annotation', NS_MAP), 'description')
thumbnail = xpath_text(