1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-27 19:05:49 +01:00

[yesjapan] Look for datetime inside submit_info

Oops..
This commit is contained in:
Naglis Jonaitis 2014-12-14 18:03:05 +02:00
parent 408b5839b1
commit 4a4fbfc967

View File

@ -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)