|
@ -6,6 +6,7 @@ from .common import InfoExtractor |
|
|
from ..compat import ( |
|
|
from ..compat import ( |
|
|
compat_urllib_parse_urlencode, |
|
|
compat_urllib_parse_urlencode, |
|
|
compat_str, |
|
|
compat_str, |
|
|
|
|
|
compat_xpath, |
|
|
) |
|
|
) |
|
|
from ..utils import ( |
|
|
from ..utils import ( |
|
|
ExtractorError, |
|
|
ExtractorError, |
|
@ -139,9 +140,9 @@ class MTVServicesInfoExtractor(InfoExtractor): |
|
|
itemdoc, './/{http://search.yahoo.com/mrss/}category', |
|
|
itemdoc, './/{http://search.yahoo.com/mrss/}category', |
|
|
'scheme', 'urn:mtvn:video_title') |
|
|
'scheme', 'urn:mtvn:video_title') |
|
|
if title_el is None: |
|
|
if title_el is None: |
|
|
title_el = itemdoc.find('.//{http://search.yahoo.com/mrss/}title') |
|
|
|
|
|
|
|
|
title_el = itemdoc.find(compat_xpath('.//{http://search.yahoo.com/mrss/}title')) |
|
|
if title_el is None: |
|
|
if title_el is None: |
|
|
title_el = itemdoc.find('.//title') or itemdoc.find('./title') |
|
|
|
|
|
|
|
|
title_el = itemdoc.find(compat_xpath('.//title')) |
|
|
if title_el.text is None: |
|
|
if title_el.text is None: |
|
|
title_el = None |
|
|
title_el = None |
|
|
|
|
|
|
|
|