diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-01 15:22:22 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-01 15:22:22 +0600 |
commit | c9154514c495bd2259df2250d4cf72a2564a9136 (patch) | |
tree | 3bc9d6f5ab7eb5e09c5f0db6c2cb8caf9672e6c6 /youtube_dl/extractor | |
parent | 0d5095fc65d92251f7aeefd9cb504434590cee8b (diff) |
[ccc] Fix upload date extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/ccc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ccc.py b/youtube_dl/extractor/ccc.py index 2e0a0b29f..5b549b343 100644 --- a/youtube_dl/extractor/ccc.py +++ b/youtube_dl/extractor/ccc.py @@ -46,7 +46,7 @@ class CCCIE(InfoExtractor): r"(?s)<p class='description'>(.*?)</p>", webpage, 'description', fatal=False) upload_date = unified_strdate(self._html_search_regex( - r"(?s)<span class='[^']*fa-calendar-o'></span>(.*?)</li>", + r"(?s)<span[^>]+class='[^']*fa-calendar-o'[^>]*>(.+?)</span>", webpage, 'upload date', fatal=False)) view_count = int_or_none(self._html_search_regex( r"(?s)<span class='[^']*fa-eye'></span>(.*?)</li>", |