[mtvservices] Fix title extraction under python 2

pull/8/head
Sergey M․ 2015-08-28 22:10:49 +06:00
rodzic 054d43bb11
commit 20149a5da1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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