projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
054d43b
)
[mtvservices] Fix title extraction under python 2
author
Sergey M․
<dstftw@gmail.com>
Fri, 28 Aug 2015 16:10:49 +0000
(22:10 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 28 Aug 2015 16:10:49 +0000
(22:10 +0600)
youtube_dl/extractor/mtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mtv.py
b/youtube_dl/extractor/mtv.py
index 4e4358151e9c041f3c608eeaf5643a5afb90153a..a597714e97c2cc7313449d6b52a64978d4023d9d 100644
(file)
--- a/
youtube_dl/extractor/mtv.py
+++ b/
youtube_dl/extractor/mtv.py
@@
-142,7
+142,7
@@
class MTVServicesInfoExtractor(InfoExtractor):
if title_el is None:
title_el = itemdoc.find('.//{http://search.yahoo.com/mrss/}title')
if title_el is None:
- title_el = itemdoc.find('.//title')
+ title_el = itemdoc.find('.//title')
or itemdoc.find('./title')
if title_el.text is None:
title_el = None