projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9c48d
)
[franceinter] Fix upload date extraction (closes #14996)
author
helb
<helb@helb.cz>
Sun, 21 Jan 2018 10:50:53 +0000
(11:50 +0100)
committer
Sergey M
<dstftw@gmail.com>
Sun, 21 Jan 2018 10:50:53 +0000
(17:50 +0700)
youtube_dl/extractor/franceinter.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/franceinter.py
b/youtube_dl/extractor/franceinter.py
index 707b9e00db02104a43e65ed8e0e94a3b2c7211c7..05806895c0a3300dd9db8e68efb15fcb70bb8006 100644
(file)
--- 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()