mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 17:22:31 +01:00
[franceinter] fix title extraction
This commit is contained in:
parent
48a6c984b8
commit
220bc3f0e3
@ -33,7 +33,7 @@ def _real_extract(self, url):
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user