mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-29 21:52:54 +00:00
[ccc] Fix upload date extraction
This commit is contained in:
parent
0d5095fc65
commit
c9154514c4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class CCCIE(InfoExtractor):
|
||||||
r"(?s)<p class='description'>(.*?)</p>",
|
r"(?s)<p class='description'>(.*?)</p>",
|
||||||
webpage, 'description', fatal=False)
|
webpage, 'description', fatal=False)
|
||||||
upload_date = unified_strdate(self._html_search_regex(
|
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))
|
webpage, 'upload date', fatal=False))
|
||||||
view_count = int_or_none(self._html_search_regex(
|
view_count = int_or_none(self._html_search_regex(
|
||||||
r"(?s)<span class='[^']*fa-eye'></span>(.*?)</li>",
|
r"(?s)<span class='[^']*fa-eye'></span>(.*?)</li>",
|
||||||
|
|
Loading…
Reference in a new issue