mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-25 09:19:48 +00:00
[mtvservices] Fix title extraction under python 2
This commit is contained in:
parent
054d43bb11
commit
20149a5da1
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
||||||
if title_el is None:
|
if title_el is None:
|
||||||
title_el = itemdoc.find('.//{http://search.yahoo.com/mrss/}title')
|
title_el = itemdoc.find('.//{http://search.yahoo.com/mrss/}title')
|
||||||
if title_el is None:
|
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:
|
if title_el.text is None:
|
||||||
title_el = None
|
title_el = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue