Browse Source

[mtvservices] Fix title extraction under python 2

totalwebcasting
Sergey M․ 9 years ago
parent
commit
20149a5da1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/mtv.py

+ 1
- 1
youtube_dl/extractor/mtv.py View File

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


Loading…
Cancel
Save