X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/87a0165ca7e39af4dacb7ec637063b2cd35ae40b..b74f612ed2a502bba6ac90db119bf0dea2b68629:/youtube_dl/extractor/franceculture.py?ds=inline
diff --git a/youtube_dl/extractor/franceculture.py b/youtube_dl/extractor/franceculture.py
index 56048ff..306b45f 100644
--- a/youtube_dl/extractor/franceculture.py
+++ b/youtube_dl/extractor/franceculture.py
@@ -4,7 +4,8 @@ from __future__ import unicode_literals
from .common import InfoExtractor
from ..utils import (
determine_ext,
- unified_strdate,
+ extract_attributes,
+ int_or_none,
)
@@ -17,8 +18,9 @@ class FranceCultureIE(InfoExtractor):
'display_id': 'rendez-vous-au-pays-des-geeks',
'ext': 'mp3',
'title': 'Rendez-vous au pays des geeks',
- 'thumbnail': 're:^https?://.*\\.jpg$',
+ 'thumbnail': r're:^https?://.*\.jpg$',
'upload_date': '20140301',
+ 'timestamp': 1393642916,
'vcodec': 'none',
}
}
@@ -28,30 +30,40 @@ class FranceCultureIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
- video_url = self._search_regex(
- r'(?s)
]+class="[^"]*?title-zone-diffusion[^"]*?"[^>]*>.*?