projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dcb318
)
[extractor/common] Use playlist id as default title
author
Sergey M․
<dstftw@gmail.com>
Sun, 9 Aug 2015 13:18:50 +0000
(19:18 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 9 Aug 2015 13:18:50 +0000
(19:18 +0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 9b4775e0a4bf902f8e77e050ba6679a24b0c6534..be91e03e9f1d69916d8e06858f2a2dc012fa9c09 100644
(file)
--- 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(