[franceinter] fix title extraction

This commit is contained in:
remitamine 2015-12-22 11:27:18 +01:00
parent 48a6c984b8
commit 220bc3f0e3

View File

@ -33,7 +33,7 @@ class FranceInterIE(InfoExtractor):
video_url = 'http://www.franceinter.fr/' + path video_url = 'http://www.franceinter.fr/' + path
title = self._html_search_regex( title = self._html_search_regex(
r'<span class="title">(.+?)</span>', webpage, 'title') r'<span class="title-diffusion">(.+?)</span>', webpage, 'title')
description = self._html_search_regex( description = self._html_search_regex(
r'<span class="description">(.*?)</span>', r'<span class="description">(.*?)</span>',
webpage, 'description', fatal=False) webpage, 'description', fatal=False)