aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mtv.py
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-12 01:50:53 +0700
committerSergey M. <dstftw@gmail.com>2014-02-12 01:50:53 +0700
commit713d31fac83dcd1998e5dc322fa972cf00cb3b31 (patch)
treef73d3e9013b6af9441473561d544c7f345295e21 /youtube_dl/extractor/mtv.py
parent96cb10a5f56a5ba207f26887a52c9dc6257c2864 (diff)
[gametrailers] Fix gametrailers test
Diffstat (limited to 'youtube_dl/extractor/mtv.py')
-rw-r--r--youtube_dl/extractor/mtv.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index 4f9308436..5447b6c0c 100644
--- a/youtube_dl/extractor/mtv.py
+++ b/youtube_dl/extractor/mtv.py
@@ -85,11 +85,9 @@ 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')
if title_el.text is None:
title_el = None
- if title_el is None:
- title_el = itemdoc.find('./item/title')
title = title_el.text
if title is None: