diff options
author | pukkandan <pukkandan@gmail.com> | 2020-11-24 02:33:08 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2020-11-24 02:33:08 +0530 |
commit | 70c5802b5d651f840b6e94fb0cdc1105d5e048e6 (patch) | |
tree | c60019ebc9e36576657d8225807727f8691741dc /youtube_dlc/extractor/franceinter.py | |
parent | a93f71ee5e1f8e68bacf7492e52e398578a98d50 (diff) |
Update to release 2020.11.24 except youtube and skyit extractors
Diffstat (limited to 'youtube_dlc/extractor/franceinter.py')
-rw-r--r-- | youtube_dlc/extractor/franceinter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/franceinter.py b/youtube_dlc/extractor/franceinter.py index 05806895c..ae822a50e 100644 --- a/youtube_dlc/extractor/franceinter.py +++ b/youtube_dlc/extractor/franceinter.py @@ -16,6 +16,7 @@ class FranceInterIE(InfoExtractor): 'ext': 'mp3', 'title': 'Affaire Cahuzac : le contentieux du compte en Suisse', 'description': 'md5:401969c5d318c061f86bda1fa359292b', + 'thumbnail': r're:^https?://.*\.jpg', 'upload_date': '20160907', }, } @@ -31,6 +32,7 @@ class FranceInterIE(InfoExtractor): title = self._og_search_title(webpage) description = self._og_search_description(webpage) + thumbnail = self._html_search_meta(['og:image', 'twitter:image'], webpage) upload_date_str = self._search_regex( r'class=["\']\s*cover-emission-period\s*["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<', @@ -48,6 +50,7 @@ class FranceInterIE(InfoExtractor): 'id': video_id, 'title': title, 'description': description, + 'thumbnail': thumbnail, 'upload_date': upload_date, 'formats': [{ 'url': video_url, |