Mitele May not have a title
Example episode: http://www.mitele.es/programas-tv/cuarto-milenio/temporada-6/programa-226/ Has no title, and trying to download just gives a crash error. The error is not there because something actually failed, but just because the video has no title. Setting it to NO_TITLE default makes it work properly, and only points out that it is missing in a download list.
This commit is contained in:
parent
98960c911c
commit
db18b80c60
@ -70,7 +70,7 @@ class MiTeleIE(InfoExtractor):
|
||||
self._sort_formats(formats)
|
||||
|
||||
title = self._search_regex(
|
||||
r'class="Destacado-text"[^>]*>\s*<strong>([^<]+)</strong>', webpage, 'title')
|
||||
r'class="Destacado-text"[^>]*>\s*<strong>([^<]+)</strong>', webpage, 'title', 'NO_TITLE')
|
||||
|
||||
video_id = self._search_regex(
|
||||
r'data-media-id\s*=\s*"([^"]+)"', webpage,
|
||||
|
Loading…
x
Reference in New Issue
Block a user