projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5095f
)
[ccc] Fix upload date extraction
author
Sergey M․
<dstftw@gmail.com>
Fri, 1 Jan 2016 09:22:22 +0000
(15:22 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 1 Jan 2016 09:22:22 +0000
(15:22 +0600)
youtube_dl/extractor/ccc.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ccc.py
b/youtube_dl/extractor/ccc.py
index 2e0a0b29fe3e2349c6cfc5e6bf6b30f886c935a0..5b549b343f94da1bf76bd31572df62cf361fa449 100644
(file)
--- 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>",