From 4a4fbfc9670cb3d2e5f0bc486c83ef1e6eb21ad3 Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Sun, 14 Dec 2014 18:03:05 +0200 Subject: [PATCH] [yesjapan] Look for datetime inside `submit_info` Oops.. --- youtube_dl/extractor/yesjapan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/yesjapan.py b/youtube_dl/extractor/yesjapan.py index fec1ad1acb..112a6c0301 100644 --- a/youtube_dl/extractor/yesjapan.py +++ b/youtube_dl/extractor/yesjapan.py @@ -38,7 +38,7 @@ def _real_extract(self, url): 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)