diff options
author | helb <helb@helb.cz> | 2018-01-21 11:50:53 +0100 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2018-01-21 17:50:53 +0700 |
commit | b2a027fc6f858d08fb0f76e3e9ae777f8f846361 (patch) | |
tree | 31cd17fae441214cd619092c6dfee91b3a5bcebe | |
parent | 0d9c48de4f7877e05cbb9e89b97104796d01ca70 (diff) |
[franceinter] Fix upload date extraction (closes #14996)
-rw-r--r-- | youtube_dl/extractor/franceinter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/franceinter.py b/youtube_dl/extractor/franceinter.py index 707b9e00d..05806895c 100644 --- a/youtube_dl/extractor/franceinter.py +++ b/youtube_dl/extractor/franceinter.py @@ -33,7 +33,7 @@ class FranceInterIE(InfoExtractor): description = self._og_search_description(webpage) upload_date_str = self._search_regex( - r'class=["\']cover-emission-period["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<', + r'class=["\']\s*cover-emission-period\s*["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<', webpage, 'upload date', fatal=False) if upload_date_str: upload_date_list = upload_date_str.split() |