projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
408b583
)
[yesjapan] Look for datetime inside `submit_info`
author
Naglis Jonaitis
<njonaitis@gmail.com>
Sun, 14 Dec 2014 16:03:05 +0000
(18:03 +0200)
committer
Naglis Jonaitis
<njonaitis@gmail.com>
Sun, 14 Dec 2014 16:03:05 +0000
(18:03 +0200)
Oops..
youtube_dl/extractor/yesjapan.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/yesjapan.py
b/youtube_dl/extractor/yesjapan.py
index fec1ad1acb61e28872a05be5ee2a86cd2ce7344e..112a6c030138e6c7d0e58619d40f3af012e13362 100644
(file)
--- a/
youtube_dl/extractor/yesjapan.py
+++ b/
youtube_dl/extractor/yesjapan.py
@@
-38,7
+38,7
@@
class YesJapanIE(InfoExtractor):
submit_info = get_element_by_attribute('class', 'pm-submit-data', webpage)
if submit_info:
timestamp = parse_iso8601(self._search_regex(
- r'datetime="([^"]+)"',
webpage
, 'upload date', fatal=False, default=None))
+ r'datetime="([^"]+)"',
submit_info
, 'upload date', fatal=False, default=None))
# attempt to resolve the final URL in order to get a proper extension
redirect_req = HEADRequest(video_url)