From 713d31fac83dcd1998e5dc322fa972cf00cb3b31 Mon Sep 17 00:00:00 2001 From: "Sergey M." Date: Wed, 12 Feb 2014 01:50:53 +0700 Subject: [gametrailers] Fix gametrailers test --- youtube_dl/extractor/mtv.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'youtube_dl/extractor/mtv.py') 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: -- cgit v1.2.3