aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-28 22:10:49 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-28 22:10:49 +0600
commit20149a5da195b8ab5e50a4babfa0107ebf279b7f (patch)
tree14afad4141f631af94be8371d243d12b6cc68a94 /youtube_dl
parent054d43bb11590da234e7e8f46a595a34b19efb8c (diff)
[mtvservices] Fix title extraction under python 2
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/mtv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index 4e4358151..a597714e9 100644
--- 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